Closed
Description
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