Skip to content

ICE: After undeclared module error #44946

Closed
@jgouly

Description

@jgouly

This short code produces an ICE after correctly reporting an error:

const A: usize = C::D::<u32>();

No special options needed:

$ rustc 44946.rs

Rust version:

$ rustc --version --verbose
rustc 1.22.0-nightly (1ed7d41d8 2017-09-24)  
binary: rustc 
commit-hash: 1ed7d41d8849d930f0622eaf54049f66fff0ca2a
commit-date: 2017-09-24  
host: x86_64-unknown-linux-gnu
release: 1.22.0-nightly
LLVM version: 4.0

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions