//@ run-pass struct Uwu; trait Trait {} impl Trait for Uwu {} fn rawr() -> impl Trait { Uwu:: } trait Traitor { } impl Traitor for u32 {} impl Traitor<1, 1> for u64 {} fn uwu() -> impl Traitor { 1_u32 } fn owo() -> impl Traitor { 1_u64 } fn main() { rawr::<3>(); rawr::<7>(); uwu::<{ u8::MAX }>(); owo(); }