//@ known-bug: #121574 #![feature(generic_const_exprs)] pub struct DimName {} impl X { pub fn y<'a, U: 'a>(&'a self) -> impl Iterator + '_> { "0".as_bytes(move |_| (0..1).map(move |_| loop {})) } }