2018-08-17 18:38:51 -05:00
|
|
|
error[E0432]: unresolved import `nonexistent_module`
|
|
|
|
--> $DIR/issue-53269.rs:16:9
|
|
|
|
|
|
|
|
|
LL | use nonexistent_module::mac; //~ ERROR unresolved import `nonexistent_module`
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate nonexistent_module;`?
|
|
|
|
|
2018-08-20 16:34:30 -05:00
|
|
|
error[E0659]: `mac` is ambiguous
|
2018-08-17 18:38:51 -05:00
|
|
|
--> $DIR/issue-53269.rs:18:5
|
|
|
|
|
|
|
|
|
LL | mac!(); //~ ERROR `mac` is ambiguous
|
2018-09-07 18:51:20 -05:00
|
|
|
| ^^^ ambiguous name
|
2018-08-17 18:38:51 -05:00
|
|
|
|
|
2018-08-20 16:34:30 -05:00
|
|
|
note: `mac` could refer to the name defined here
|
2018-08-17 18:38:51 -05:00
|
|
|
--> $DIR/issue-53269.rs:13:1
|
|
|
|
|
|
|
|
|
LL | macro_rules! mac { () => () }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-20 16:34:30 -05:00
|
|
|
note: `mac` could also refer to the name imported here
|
2018-08-17 18:38:51 -05:00
|
|
|
--> $DIR/issue-53269.rs:16:9
|
|
|
|
|
|
|
|
|
LL | use nonexistent_module::mac; //~ ERROR unresolved import `nonexistent_module`
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-08-20 16:34:30 -05:00
|
|
|
Some errors occurred: E0432, E0659.
|
|
|
|
For more information about an error, try `rustc --explain E0432`.
|