rust/tests/ui/ice-4545.rs

15 lines
162 B
Rust
Raw Normal View History

2019-09-17 09:48:25 +02:00
fn repro() {
trait Foo {
type Bar;
}
#[allow(dead_code)]
struct Baz<T: Foo> {
field: T::Bar,
}
}
fn main() {
repro();
}