19 lines
600 B
Plaintext
19 lines
600 B
Plaintext
error: invalid suffix `is` for numeric literal
|
|
--> $DIR/old-suffixes-are-really-forbidden.rs:2:13
|
|
|
|
|
LL | let a = 1_is; //~ ERROR invalid suffix
|
|
| ^^^^ invalid suffix `is`
|
|
|
|
|
= 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:3:13
|
|
|
|
|
LL | let b = 2_us; //~ ERROR invalid suffix
|
|
| ^^^^ invalid suffix `us`
|
|
|
|
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)
|
|
|
|
error: aborting due to 2 previous errors
|
|
|