-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Description
The following code:
fn main() {
[].iter();
}
results in the following compiler error:
test.rs:2:1: 2:3 error: internal compiler error: borrow-vec associated with bad sty: &ty_err
This message reflects a bug in the Rust compiler.
We would appreciate a bug report: https://github.com/mozilla/rust/wiki/HOWTO-submit-a-Rust-bug-report
test.rs:2 [].iter();
^~
task 'rustc' failed at 'explicit failure', /home/sami/Programmes/rust-git/src/rust/src/libsyntax/diagnostic.rs:76
task '<main>' failed at 'explicit failure', /home/sami/Programmes/rust-git/src/rust/src/librustc/lib.rs:396
I’m using revision df41115 (2013-12-01), with c6e934f cherry-picked to make make install
work (pull request 10753, now merged into master).
Metadata
Metadata
Assignees
Labels
I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️