rust/tests/ui/imports/issue-53269.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
1.1 KiB
Plaintext
Raw Normal View History

error[E0432]: unresolved import `nonexistent_module`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-53269.rs:6:9
|
2019-03-09 06:03:44 -06:00
LL | use nonexistent_module::mac;
2019-08-05 09:50:37 -05:00
| ^^^^^^^^^^^^^^^^^^ maybe a missing crate `nonexistent_module`?
|
= help: consider adding `extern crate nonexistent_module` to use the `nonexistent_module` crate
error[E0659]: `mac` is ambiguous
2018-12-25 09:56:47 -06:00
--> $DIR/issue-53269.rs:8:5
|
2019-03-09 06:03:44 -06:00
LL | mac!();
| ^^^ ambiguous name
|
= note: ambiguous because of a conflict between a `macro_rules` name and a non-`macro_rules` name from another module
note: `mac` could refer to the macro defined here
2018-12-25 09:56:47 -06:00
--> $DIR/issue-53269.rs:3:1
|
LL | macro_rules! mac { () => () }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `mac` could also refer to the unresolved item imported here
2018-12-25 09:56:47 -06:00
--> $DIR/issue-53269.rs:6:9
|
2019-03-09 06:03:44 -06:00
LL | use nonexistent_module::mac;
| ^^^^^^^^^^^^^^^^^^^^^^^
= help: use `self::mac` to refer to this unresolved item unambiguously
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0432, E0659.
For more information about an error, try `rustc --explain E0432`.