1 // Type arguments in unresolved entities (reporting errors before type checking)
2 // should have their types recorded.
7 let _: Nonexistent<u8, Assoc = u16>; //~ ERROR cannot find type `Nonexistent` in this scope
11 <u8 as Tr<u8>>::nonexistent(); //~ ERROR cannot find method or associated constant `nonexistent`
15 NonExistent::Assoc::<u8>; //~ ERROR undeclared type `NonExistent`
19 nonexistent.nonexistent::<u8>(); //~ ERROR cannot find value `nonexistent`
23 let _ = |a, b: _| -> _ { 0 }; //~ ERROR type annotations needed