fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0432]: unresolved import `nonexistent_module` 2 --> $DIR/issue-53269.rs:6:9 3 | 4LL | use nonexistent_module::mac; 5 | ^^^^^^^^^^^^^^^^^^ maybe a missing crate `nonexistent_module`? 6 | 7 = help: consider adding `extern crate nonexistent_module` to use the `nonexistent_module` crate 8 9error[E0659]: `mac` is ambiguous 10 --> $DIR/issue-53269.rs:8:5 11 | 12LL | mac!(); 13 | ^^^ ambiguous name 14 | 15 = note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module 16note: `mac` could refer to the macro defined here 17 --> $DIR/issue-53269.rs:3:1 18 | 19LL | macro_rules! mac { () => () } 20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21note: `mac` could also refer to the unresolved item imported here 22 --> $DIR/issue-53269.rs:6:9 23 | 24LL | use nonexistent_module::mac; 25 | ^^^^^^^^^^^^^^^^^^^^^^^ 26 = help: use `self::mac` to refer to this unresolved item unambiguously 27 28error: aborting due to 2 previous errors 29 30Some errors have detailed explanations: E0432, E0659. 31For more information about an error, try `rustc --explain E0432`.