]> git.lizzy.rs Git - rust.git/blob - tests/ui/crashes/ice-4545.rs
Auto merge of #5246 - JarredAllen:master, r=flip1995
[rust.git] / tests / ui / crashes / ice-4545.rs
1 fn repro() {
2     trait Foo {
3         type Bar;
4     }
5
6     #[allow(dead_code)]
7     struct Baz<T: Foo> {
8         field: T::Bar,
9     }
10 }
11
12 fn main() {
13     repro();
14 }