rust-clippy/tests/ui/ice-4545.rs
2019-09-18 21:57:14 +02:00

14 lines
162 B
Rust

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