ICE: Error compiling with generic default methods #7295
Labels
A-trait-system
Area: Trait system
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
This code:
Fails with the message:
'index out of bounds: the len is 1 but the index is 1', /home/james/projects/rust/compiler/src/librustc/middle/subst.rs:58
Seems to be getting mixed up with the trait parameters, if I add another type parameter to
Foo
, I get an index of 2, instead of 1.The text was updated successfully, but these errors were encountered: