// check-pass #![allow(unused)] trait Foo { type Bar; type Baz: Bar; } trait Bar {} fn x, U>(t: &T) {} fn main() {}