//@ known-bug: #133868 trait Foo { type Assoc; } trait Bar { fn method() -> impl Sized; } impl Bar for T where ::Assoc: Sized { fn method() {} }