1 2 3 4 5 6 7
// run-pass #![allow(unused_must_use)] fn bug(_: impl Iterator<Item = [(); { |x: u32| { x }; 4 }]>) {} fn main() { bug(std::iter::empty()); }