]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/underscore-suffix-for-float.stderr
Auto merge of #101030 - woppopo:const_location, r=scottmcm
[rust.git] / src / test / ui / parser / underscore-suffix-for-float.stderr
1 error: expected identifier, found reserved identifier `_`
2   --> $DIR/underscore-suffix-for-float.rs:2:16
3    |
4 LL |     let a = 42._;
5    |                ^ expected identifier, found reserved identifier
6
7 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
8   --> $DIR/underscore-suffix-for-float.rs:2:16
9    |
10 LL |     let a = 42._;
11    |                ^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0610`.