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:12:9
22 LL | fn z(a: boolean) {
25 | not found in this scope
26 | help: perhaps you intended to use this type: `bool`
28 error[E0412]: cannot find type `byte` in this scope
29 --> $DIR/recommend-literal.rs:17:11
34 | not found in this scope
35 | help: perhaps you intended to use this type: `u8`
37 error[E0412]: cannot find type `float` in this scope
38 --> $DIR/recommend-literal.rs:24:12
43 | not found in this scope
44 | help: perhaps you intended to use this type: `f32`
46 error[E0412]: cannot find type `int` in this scope
47 --> $DIR/recommend-literal.rs:27:19
49 LL | depth: Option<int>,
50 | ^^^ not found in this scope
52 help: perhaps you intended to use this type
54 LL | depth: Option<i32>,
56 help: you might be missing a type parameter
58 LL | struct Data<int> {
61 error[E0412]: cannot find type `short` in this scope
62 --> $DIR/recommend-literal.rs:33:16
64 LL | impl Stuff for short {}
67 | not found in this scope
68 | help: perhaps you intended to use this type: `i16`
70 error: aborting due to 7 previous errors
72 For more information about this error, try `rustc --explain E0412`.