rust/tests/ui/ice-4545.rs
2019-09-17 09:49:08 +02:00

16 lines
163 B
Rust

fn repro() {
trait Foo {
type Bar;
}
#[allow(dead_code)]
struct Baz<T: Foo> {
field: T::Bar,
}
}
fn main() {
repro();
}