rust-clippy/tests/ui/crashes/ice-4545.rs
2019-12-31 20:55:12 +09: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();
}