rust-clippy/tests/ui/crashes/ice-6251.rs

7 lines
200 B
Rust
Raw Normal View History

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