summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/old-suffixes-are-really-forbidden.stderr
blob: fb309793b34b48d7e3d3d11d744614049cac48b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: invalid suffix `is` for number literal
  --> $DIR/old-suffixes-are-really-forbidden.rs:2:13
   |
LL |     let a = 1_is;
   |             ^^^^ invalid suffix `is`
   |
   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)

error: invalid suffix `us` for number literal
  --> $DIR/old-suffixes-are-really-forbidden.rs:3:13
   |
LL |     let b = 2_us;
   |             ^^^^ invalid suffix `us`
   |
   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)

error: aborting due to 2 previous errors