summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-4545.rs
blob: d9c9c2096d97c364f62fb2f686ce7e9b280b3a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn repro() {
    trait Foo {
        type Bar;
    }

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

fn main() {
    repro();
}