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
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
petrochenkov commentedon Sep 30, 2017
Very similar to #44858, fixed in #44945
(I'll add a test.)
jgouly commentedon Sep 30, 2017
Thanks @petrochenkov!
Auto merge of #44945 - petrochenkov:fixtyrec, r=arielb1