1 #![feature(type_alias_impl_trait)]
4 // this should not compile
7 type Alias = impl Sized;
9 fn constrain() -> Alias {
23 impl Yay for <() as HideIt>::Assoc {}
24 // impl Yay for i32 {} // this already errors
25 // impl Yay for u32 {} // this also already errors