2 //~^ ERROR cannot find type `double` in this scope
3 //~| HELP perhaps you intended to use this type
7 let y: long = 74802374902374923;
8 //~^ ERROR cannot find type `long` in this scope
9 //~| HELP perhaps you intended to use this type
10 let v1: Boolean = true;
11 //~^ ERROR: cannot find type `Boolean` in this scope [E0412]
12 //~| HELP perhaps you intended to use this type
14 //~^ ERROR: cannot find type `Bool` in this scope [E0412]
15 //~| HELP a builtin type with a similar name exists
16 //~| HELP perhaps you intended to use this type
20 //~^ ERROR cannot find type `boolean` in this scope
21 //~| HELP perhaps you intended to use this type
25 //~^ ERROR cannot find type `byte` in this scope
26 //~| HELP perhaps you intended to use this type
30 struct Data { //~ HELP you might be missing a type parameter
32 //~^ ERROR cannot find type `float` in this scope
33 //~| HELP perhaps you intended to use this type
35 //~^ ERROR cannot find type `int` in this scope
36 //~| HELP perhaps you intended to use this type
40 impl Stuff for short {}
41 //~^ ERROR cannot find type `short` in this scope
42 //~| HELP perhaps you intended to use this type