1 const MAX_ITEM: usize = 10;
5 fn foo(c: esize) {} // Misspelled primitive type name.
10 type A = Baz; // Misspelled type name.
11 //~^ ERROR cannot find
12 type B = Opiton<u8>; // Misspelled type name from the prelude.
13 //~^ ERROR cannot find
16 type A = Baz; // No suggestion here, Bar is not visible
17 //~^ ERROR cannot find
24 let v = [0u32; MAXITEM]; // Misspelled constant name.
25 //~^ ERROR cannot find
26 foobar(); // Misspelled function name.
27 //~^ ERROR cannot find
28 let b: m::first = m::second; // Misspelled item in module.
29 //~^ ERROR cannot find
30 //~| ERROR cannot find