fn foo() -> T { panic!() } fn main() { foo(); //~ ERROR type annotations needed }