fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
824 B22 linesraw
1error[E0659]: `bar` is ambiguous
2  --> $DIR/out-of-order-shadowing.rs:5:1
3   |
4LL | bar!();
5   | ^^^ ambiguous name
6   |
7   = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution
8note: `bar` could refer to the macro defined here
9  --> $DIR/out-of-order-shadowing.rs:4:1
10   |
11LL | define_macro!(bar);
12   | ^^^^^^^^^^^^^^^^^^
13note: `bar` could also refer to the macro defined here
14  --> $DIR/out-of-order-shadowing.rs:3:1
15   |
16LL | macro_rules! bar { () => {} }
17   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
18   = note: this error originates in the macro `define_macro` (in Nightly builds, run with -Z macro-backtrace for more info)
19
20error: aborting due to previous error
21
22For more information about this error, try `rustc --explain E0659`.