The following code gives an ICE: ``` rust 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
Activity
alexcrichton commentedon Jul 31, 2013
I also then realized that this code doesn't parse:
msullivan commentedon Aug 22, 2013
Hm. This is the same bugs as #8468 and #8417. This was first, but I didn't notice it, so closing it as a dupe.
Auto merge of rust-lang#8201 - smoelius:master, r=camsteffen