// Regression test for issue #72213 // Tests that we don't ICE when we have projection predicates // in our initial ParamEnv pub struct Lines<'a, L> where L: Iterator, { words: std::iter::Peekable>, } pub struct Words<'a, L> { _m: std::marker::PhantomData<&'a L>, } impl<'a, L> Iterator for Words<'a, L> where L: Iterator, { type Item = (); fn next(&mut self) -> Option { unimplemented!() } }