```
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;
|
```
39 lines
702 B
Plaintext
39 lines
702 B
Plaintext
error: unexpected token: `...`
|
|
--> $DIR/issue-90993.rs:2:5
|
|
|
|
|
LL | ...=.
|
|
| ^^^
|
|
|
|
|
help: use `..` for an exclusive range
|
|
|
|
|
LL - ...=.
|
|
LL + ..=.
|
|
|
|
|
help: or `..=` for an inclusive range
|
|
|
|
|
LL - ...=.
|
|
LL + ..==.
|
|
|
|
|
|
|
error: unexpected `=` after inclusive range
|
|
--> $DIR/issue-90993.rs:2:5
|
|
|
|
|
LL | ...=.
|
|
| ^^^^
|
|
|
|
|
= note: inclusive ranges end with a single equals sign (`..=`)
|
|
help: use `..=` instead
|
|
|
|
|
LL - ...=.
|
|
LL + ..=.
|
|
|
|
|
|
|
error: expected one of `-`, `;`, `}`, or path, found `.`
|
|
--> $DIR/issue-90993.rs:2:9
|
|
|
|
|
LL | ...=.
|
|
| ^ expected one of `-`, `;`, `}`, or path
|
|
|
|
error: aborting due to 3 previous errors
|
|
|