about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/crashes/ice-6251.rs
blob: a58265752ec3cb40bdd4bea9d9624f50c61c90c8 (plain)
1
2
3
4
5
6
7
8
9
// originally from glacier/fixed/77329.rs
// assertion failed: `(left == right)` ; different DefIds
//@no-rustfix
fn bug<T>() -> impl Iterator<Item = [(); { |x: [u8]| x }]> {
    //~^ ERROR: the size for values
    //~| ERROR: the size for values
    //~| ERROR: mismatched types
    std::iter::empty()
}