rust-clippy/tests/ui/crashes/ice-6251.rs
2023-08-11 14:02:28 +00:00

6 lines
199 B
Rust

// originally from glacier/fixed/77329.rs
// assertion failed: `(left == right) ; different DefIds
//@no-rustfix
fn bug<T>() -> impl Iterator<Item = [(); { |x: [u8]| x }]> {
std::iter::empty()
}