]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/old-suffixes-are-really-forbidden.stderr
Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup
[rust.git] / src / test / ui / parser / old-suffixes-are-really-forbidden.stderr
1 error: invalid suffix `is` for number literal
2   --> $DIR/old-suffixes-are-really-forbidden.rs:2:13
3    |
4 LL |     let a = 1_is;
5    |             ^^^^ invalid suffix `is`
6    |
7    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
8
9 error: invalid suffix `us` for number literal
10   --> $DIR/old-suffixes-are-really-forbidden.rs:3:13
11    |
12 LL |     let b = 2_us;
13    |             ^^^^ invalid suffix `us`
14    |
15    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
16
17 error: aborting due to 2 previous errors
18