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