//@ check-pass pub trait Foo
{} pub trait Bar { type Output: 'static; } impl Foo for i32 { } impl Foo for A { } impl Bar for i32 { type Output = u32; } fn main() {}