2019-09-22 13:35:28 +00:00
|
|
|
error[E0426]: use of undeclared label `'label_use`
|
|
|
|
--> $DIR/gen-macro-rules-hygiene.rs:12:1
|
|
|
|
|
|
|
|
|
LL | gen_macro_rules!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ undeclared label `'label_use`
|
2019-09-22 13:35:28 +00:00
|
|
|
...
|
|
|
|
LL | generated!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------ in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `generated` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-09-22 13:35:28 +00:00
|
|
|
|
|
|
|
error[E0425]: cannot find value `local_use` in this scope
|
|
|
|
--> $DIR/gen-macro-rules-hygiene.rs:12:1
|
|
|
|
|
|
|
|
|
LL | gen_macro_rules!();
|
2022-10-16 08:51:11 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `local_def`
|
2019-09-22 13:35:28 +00:00
|
|
|
...
|
|
|
|
LL | generated!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------ in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `generated` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-09-22 13:35:28 +00:00
|
|
|
|
|
|
|
error[E0425]: cannot find value `local_def` in this scope
|
|
|
|
--> $DIR/gen-macro-rules-hygiene.rs:21:9
|
|
|
|
|
|
|
|
|
LL | local_def;
|
2022-10-16 08:51:11 +00:00
|
|
|
| ^^^^^^^^^ help: a local variable with a similar name exists: `local_use`
|
2019-09-22 13:35:28 +00:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
|
|
|
Some errors have detailed explanations: E0425, E0426.
|
|
|
|
For more information about an error, try `rustc --explain E0425`.
|