Closed
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