blob: a0036ef860e3fa671cccd0372fae23b53a7e7ed5 [file] [log] [blame]
//@ check-pass
#![allow(unused)]
trait Foo {
type Bar;
type Baz: Bar<Self::Bar>;
}
trait Bar<T> {}
fn x<T: Foo<Bar = U>, U>(t: &T) {}
fn main() {}