rust/tests/crashes/121574.rs
2024-04-14 11:21:51 +02:00

7 lines
184 B
Rust

//@ known-bug: #121574
#![feature(generic_const_exprs)]
impl<const Z: usize> X<Z> {
pub fn y<'a, U: 'a>(&'a self) -> impl Iterator<Item = impl Iterator<Item = [u8; Z]> + '_> {}
}