```
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
536 B
Plaintext
27 lines
536 B
Plaintext
error: wrong meta list delimiters
|
|
--> $DIR/malformed-meta-delim.rs:3:9
|
|
|
|
|
LL | #[allow { foo_lint } ]
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
help: the delimiters should be `(` and `)`
|
|
|
|
|
LL - #[allow { foo_lint } ]
|
|
LL + #[allow ( foo_lint ) ]
|
|
|
|
|
|
|
error: wrong meta list delimiters
|
|
--> $DIR/malformed-meta-delim.rs:8:9
|
|
|
|
|
LL | #[allow [ foo_lint ] ]
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
help: the delimiters should be `(` and `)`
|
|
|
|
|
LL - #[allow [ foo_lint ] ]
|
|
LL + #[allow ( foo_lint ) ]
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|