Closed
Description
Code:
fn main() {
for thing(x[]) {
}
}
Error:
<anon>:2:12: 2:13 error: internal compiler error: ident only path should have been covered already
<anon>:2 for thing(x[]) {
^
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:130