```
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;
|
```
21 lines
467 B
Plaintext
21 lines
467 B
Plaintext
error: malformed `deprecated` attribute input
|
|
--> $DIR/invalid-literal.rs:1:1
|
|
|
|
|
LL | #[deprecated = b"test"]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
help: the following are the possible correct uses
|
|
|
|
|
LL - #[deprecated = b"test"]
|
|
LL + #[deprecated = "reason"]
|
|
|
|
|
LL - #[deprecated = b"test"]
|
|
LL + #[deprecated(/*opt*/ since = "version", /*opt*/ note = "reason")]
|
|
|
|
|
LL - #[deprecated = b"test"]
|
|
LL + #[deprecated]
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|