2020-11-22 16:29:46 -06:00
|
|
|
error: invalid suffix `is` for number literal
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/old-suffixes-are-really-forbidden.rs:2:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | let a = 1_is;
|
2019-01-12 01:37:49 -06:00
|
|
|
| ^^^^ invalid suffix `is`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2020-11-22 16:29:46 -06:00
|
|
|
= help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2020-11-22 16:29:46 -06:00
|
|
|
error: invalid suffix `us` for number literal
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/old-suffixes-are-really-forbidden.rs:3:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | let b = 2_us;
|
2019-01-12 01:37:49 -06:00
|
|
|
| ^^^^ invalid suffix `us`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2020-11-22 16:29:46 -06:00
|
|
|
= help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|