]> git.lizzy.rs Git - rust.git/blob - src/test/ui/out-of-order-shadowing.stderr
Auto merge of #81507 - weiznich:add_diesel_to_cargo_test, r=Mark-Simulacrum
[rust.git] / src / test / ui / out-of-order-shadowing.stderr
1 error[E0659]: `bar` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution)
2   --> $DIR/out-of-order-shadowing.rs:5:1
3    |
4 LL | bar!();
5    | ^^^ ambiguous name
6    |
7 note: `bar` could refer to the macro defined here
8   --> $DIR/out-of-order-shadowing.rs:4:1
9    |
10 LL | define_macro!(bar);
11    | ^^^^^^^^^^^^^^^^^^^
12 note: `bar` could also refer to the macro defined here
13   --> $DIR/out-of-order-shadowing.rs:3:1
14    |
15 LL | macro_rules! bar { () => {} }
16    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0659`.