about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/crashes/ice-4545.rs
blob: 1d7cb53ee7be02e2e0ce297329ecd803403887fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//@ check-pass

fn repro() {
    trait Foo {
        type Bar;
    }

    #[allow(dead_code)]
    struct Baz<T: Foo> {
        field: T::Bar,
    }
}

fn main() {
    repro();
}