mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
15 lines
491 B
Text
15 lines
491 B
Text
error: expected identifier, found reserved identifier `_`
|
|
--> $DIR/underscore-suffix-for-float.rs:2:16
|
|
|
|
|
LL | let a = 42._;
|
|
| ^ 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
|
|
|
|
|
LL | let a = 42._;
|
|
| ^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0610`.
|