struct Uwu; trait Trait {} impl Trait for Uwu {} fn rawr() -> impl Trait { //~^ error: the trait bound `Uwu<10, 12>: Trait` is not satisfied Uwu::<10, 12> } trait Traitor {} impl Traitor for u32 {} impl Traitor<1, 2> for u64 {} fn uwu() -> impl Traitor { //~^ error: the trait bound `u32: Traitor` is not satisfied 1_u32 } fn owo() -> impl Traitor { //~^ error: the trait bound `u64: Traitor` is not satisfied 1_u64 } fn main() { rawr(); uwu(); //~ ERROR: type annotations needed owo(); }