Files
rust/tests/ui/parser/old-suffixes-are-really-forbidden.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
562 B
Plaintext
Raw Normal View History

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