```
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
--> $DIR/attempted-access-non-fatal.rs:7:15
|
LL | let _ = 2.l;
| ^
|
help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix
|
LL - let _ = 2.l;
LL + let _ = 2.0f64;
|
```
27 lines
582 B
Plaintext
27 lines
582 B
Plaintext
error: `const` and `let` are mutually exclusive
|
|
--> $DIR/issue-99910-const-let-mutually-exclusive.rs:4:5
|
|
|
|
|
LL | const let _FOO: i32 = 123;
|
|
| ^^^^^^^^^
|
|
|
|
|
help: remove `let`
|
|
|
|
|
LL - const let _FOO: i32 = 123;
|
|
LL + const _FOO: i32 = 123;
|
|
|
|
|
|
|
error: `const` and `let` are mutually exclusive
|
|
--> $DIR/issue-99910-const-let-mutually-exclusive.rs:6:5
|
|
|
|
|
LL | let const _BAR: i32 = 123;
|
|
| ^^^^^^^^^
|
|
|
|
|
help: remove `let`
|
|
|
|
|
LL - let const _BAR: i32 = 123;
|
|
LL + const _BAR: i32 = 123;
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|