-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Closed
Labels
A-trait-systemArea: Trait systemArea: Trait systemI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Description
The following code gives an ICE:
trait Foo {
fn foo(&Self) {}
}
fn main() {
}
with the message:
rust: task failed at 'index out of bounds: the len is 0 but the index is 0', /Users/alex/code/rust-opt/src/librustc/middle/liveness.rs:1598
ping @msullivan
Metadata
Metadata
Assignees
Labels
A-trait-systemArea: Trait systemArea: Trait systemI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️