mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-01 13:34:38 +00:00
```
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;
|
```
33 lines
852 B
Plaintext
33 lines
852 B
Plaintext
error: cannot find macro `a` in this scope
|
|
--> $DIR/expand-full-no-resolution.rs:18:18
|
|
|
|
|
LL | macro_rules! _a {
|
|
| --------------- similarly named macro `_a` defined here
|
|
...
|
|
LL | format_args!(a!());
|
|
| ^
|
|
|
|
|
help: the leading underscore in `_a` marks it as unused, consider renaming it to `a`
|
|
|
|
|
LL - macro_rules! _a {
|
|
LL + macro_rules! a {
|
|
|
|
|
|
|
error: cannot find macro `a` in this scope
|
|
--> $DIR/expand-full-no-resolution.rs:19:10
|
|
|
|
|
LL | macro_rules! _a {
|
|
| --------------- similarly named macro `_a` defined here
|
|
...
|
|
LL | env!(a!());
|
|
| ^
|
|
|
|
|
help: the leading underscore in `_a` marks it as unused, consider renaming it to `a`
|
|
|
|
|
LL - macro_rules! _a {
|
|
LL + macro_rules! a {
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|