blob: 44fc02a5c20e77b220978561b676ad0a2729a7af [file] [log] [blame]
// check-pass
pub trait Foo<P> {}
pub trait Bar {
type Output: 'static;
}
impl Foo<i32> for i32 { }
impl<A:Bar> Foo<A::Output> for A { }
impl Bar for i32 {
type Output = u32;
}
fn main() {}