2
0
Fork 0
mirror of https://github.com/rust-lang/rust-clippy synced 2025-03-02 06:17:31 +00:00
rust-clippy/tests/ui/crashes/ice-6251.rs
Matthias Krüger abd64d7c05 add a couple of ICE testcases
Fixes 
Fixes 
Fixes 
Fixes 
Fixes 
2020-10-28 23:35:11 +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()
}