Got another ICE, this time it only shows itself when compiled with debug info (rustc -g error.rs).
Also of note is that another ICE shows itself if the State wrapper is removed (I can file a separate report for that if you want but I figure they might be the same issue).
struct State<I>;
trait Parser {
type Input;
}
impl Parser for () {
type Input = ();
}
struct IntoIter<P: Parser> {
input: State<<P as Parser>::Input>
}
fn main() {
let p = IntoIter::<()> { input: State::<()> };
}
//Compile with rustc error.rs -g
Got another ICE, this time it only shows itself when compiled with debug info (rustc -g error.rs). Also of note is that another ICE shows itself if the State wrapper is removed (I can file a separate report for that if you want but I figure they might be the same issue).