1 error[E0412]: cannot find type `double` in this scope
2 --> $DIR/recommend-literal.rs:1:13
4 LL | type Real = double;
7 | not found in this scope
8 | help: perhaps you intended to use this type: `f64`
10 error[E0412]: cannot find type `long` in this scope
11 --> $DIR/recommend-literal.rs:7:12
13 LL | let y: long = 74802374902374923;
16 | not found in this scope
17 | help: perhaps you intended to use this type: `i64`
19 error[E0412]: cannot find type `Boolean` in this scope
20 --> $DIR/recommend-literal.rs:10:13
22 LL | let v1: Boolean = true;
25 | not found in this scope
26 | help: perhaps you intended to use this type: `bool`
28 error[E0412]: cannot find type `Bool` in this scope
29 --> $DIR/recommend-literal.rs:13:13
31 LL | let v2: Bool = true;
34 help: a builtin type with a similar name exists
36 LL | let v2: bool = true;
38 help: perhaps you intended to use this type
40 LL | let v2: bool = true;
43 error[E0412]: cannot find type `boolean` in this scope
44 --> $DIR/recommend-literal.rs:19:9
46 LL | fn z(a: boolean) {
49 | not found in this scope
50 | help: perhaps you intended to use this type: `bool`
52 error[E0412]: cannot find type `byte` in this scope
53 --> $DIR/recommend-literal.rs:24:11
58 | not found in this scope
59 | help: perhaps you intended to use this type: `u8`
61 error[E0412]: cannot find type `float` in this scope
62 --> $DIR/recommend-literal.rs:31:12
67 | not found in this scope
68 | help: perhaps you intended to use this type: `f32`
70 error[E0412]: cannot find type `int` in this scope
71 --> $DIR/recommend-literal.rs:34:19
73 LL | depth: Option<int>,
74 | ^^^ not found in this scope
76 help: perhaps you intended to use this type
78 LL | depth: Option<i32>,
80 help: you might be missing a type parameter
82 LL | struct Data<int> {
85 error[E0412]: cannot find type `short` in this scope
86 --> $DIR/recommend-literal.rs:40:16
88 LL | impl Stuff for short {}
91 | not found in this scope
92 | help: perhaps you intended to use this type: `i16`
94 error: aborting due to 9 previous errors
96 For more information about this error, try `rustc --explain E0412`.