2018-08-17 23:38:51 +00:00
|
|
|
error[E0432]: unresolved import `nonexistent_module`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-53269.rs:6:9
|
2018-08-17 23:38:51 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | use nonexistent_module::mac;
|
2019-08-05 14:50:37 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ maybe a missing crate `nonexistent_module`?
|
2022-05-22 02:48:35 +00:00
|
|
|
|
|
|
|
|
= help: consider adding `extern crate nonexistent_module` to use the `nonexistent_module` crate
|
2018-08-17 23:38:51 +00:00
|
|
|
|
2021-10-20 13:56:10 +00:00
|
|
|
error[E0659]: `mac` is ambiguous
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-53269.rs:8:5
|
2018-08-17 23:38:51 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | mac!();
|
2018-09-07 23:51:20 +00:00
|
|
|
| ^^^ ambiguous name
|
2018-08-17 23:38:51 +00:00
|
|
|
|
|
2021-10-20 13:56:10 +00:00
|
|
|
= note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module
|
2018-11-04 22:11:59 +00:00
|
|
|
note: `mac` could refer to the macro defined here
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-53269.rs:3:1
|
2018-08-17 23:38:51 +00:00
|
|
|
|
|
|
|
|
LL | macro_rules! mac { () => () }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-11-04 22:11:59 +00:00
|
|
|
note: `mac` could also refer to the unresolved item imported here
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-53269.rs:6:9
|
2018-08-17 23:38:51 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | use nonexistent_module::mac;
|
2018-08-17 23:38:51 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2018-11-11 16:46:04 +00:00
|
|
|
= help: use `self::mac` to refer to this unresolved item unambiguously
|
2018-08-17 23:38:51 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2019-04-17 17:26:38 +00:00
|
|
|
Some errors have detailed explanations: E0432, E0659.
|
2018-08-20 21:34:30 +00:00
|
|
|
For more information about an error, try `rustc --explain E0432`.
|