summary refs log tree commit diff
path: root/src/test/ui/old-suffixes-are-really-forbidden.stderr
blob: d580a18f46b9b8e140ceb90805ceb7bd5baeaa12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: invalid suffix `is` for numeric literal
  --> $DIR/old-suffixes-are-really-forbidden.rs:12:13
   |
LL |     let a = 1_is; //~ ERROR invalid suffix
   |             ^^^^
   |
   = help: the suffix must be one of the integral types (`u32`, `isize`, etc)

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

error: aborting due to 2 previous errors