rust/tests/ui/parser/underscore-suffix-for-float.stderr

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

16 lines
491 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: expected identifier, found reserved identifier `_`
--> $DIR/underscore-suffix-for-float.rs:2:16
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let a = 42._;
2018-10-20 15:36:17 -05:00
| ^ expected identifier, found reserved identifier
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
--> $DIR/underscore-suffix-for-float.rs:2:16
|
2019-03-09 06:03:44 -06:00
LL | let a = 42._;
| ^
error: aborting due to 2 previous errors
2018-10-20 15:36:17 -05:00
For more information about this error, try `rustc --explain E0610`.