rust/tests/ui/crashes/ice-6251.rs
2020-11-05 14:29:48 +01:00

6 lines
186 B
Rust

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