2
0
Fork 0
mirror of https://github.com/rust-lang/rust-clippy synced 2025-02-02 23:33:30 +00:00
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();
}