]>
Commit | Line | Data |
---|---|---|
fc512014 | 1 | error: invalid suffix `is` for number literal |
0731742a | 2 | --> $DIR/old-suffixes-are-really-forbidden.rs:2:13 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | let a = 1_is; |
0731742a | 5 | | ^^^^ invalid suffix `is` |
b7449926 | 6 | | |
fc512014 | 7 | = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) |
b7449926 | 8 | |
fc512014 | 9 | error: invalid suffix `us` for number literal |
0731742a | 10 | --> $DIR/old-suffixes-are-really-forbidden.rs:3:13 |
b7449926 | 11 | | |
532ac7d7 | 12 | LL | let b = 2_us; |
0731742a | 13 | | ^^^^ invalid suffix `us` |
b7449926 | 14 | | |
fc512014 | 15 | = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) |
b7449926 XL |
16 | |
17 | error: aborting due to 2 previous errors | |
18 |