]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/gen-macro-rules-hygiene.stderr
Rollup merge of #107532 - compiler-errors:erase-regions-in-uninhabited, r=jackh726
[rust.git] / tests / ui / proc-macro / gen-macro-rules-hygiene.stderr
1 error[E0426]: use of undeclared label `'label_use`
2   --> $DIR/gen-macro-rules-hygiene.rs:12:1
3    |
4 LL | gen_macro_rules!();
5    | ^^^^^^^^^^^^^^^^^^ undeclared label `'label_use`
6 ...
7 LL |         generated!();
8    |         ------------ in this macro invocation
9    |
10    = note: this error originates in the macro `generated` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12 error[E0425]: cannot find value `local_use` in this scope
13   --> $DIR/gen-macro-rules-hygiene.rs:12:1
14    |
15 LL | gen_macro_rules!();
16    | ^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `local_def`
17 ...
18 LL |         generated!();
19    |         ------------ in this macro invocation
20    |
21    = note: this error originates in the macro `generated` (in Nightly builds, run with -Z macro-backtrace for more info)
22
23 error[E0425]: cannot find value `local_def` in this scope
24   --> $DIR/gen-macro-rules-hygiene.rs:21:9
25    |
26 LL |         local_def;
27    |         ^^^^^^^^^ help: a local variable with a similar name exists: `local_use`
28
29 error: aborting due to 3 previous errors
30
31 Some errors have detailed explanations: E0425, E0426.
32 For more information about an error, try `rustc --explain E0425`.