//@ known-bug: #124189 trait Trait { type Type; } impl Trait for T { type Type = (); } fn f(_: <&Copy as Trait>::Type) {} fn main() { f(()); }