rust-clippy/tests/ui/crashes/ice-4545.rs

15 lines
162 B
Rust
Raw Normal View History

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