mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
19 lines
562 B
Plaintext
19 lines
562 B
Plaintext
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
|
|
|