]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/macros.stderr
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / ui / imports / macros.stderr
1 error[E0659]: `m` is ambiguous
2   --> $DIR/macros.rs:16:5
3    |
4 LL |     m! {
5    |     ^ ambiguous name
6    |
7    = note: ambiguous because of a conflict between a name from a glob import and a macro-expanded name in the same module during import or macro resolution
8 note: `m` could refer to the macro imported here
9   --> $DIR/macros.rs:18:13
10    |
11 LL |         use foo::m;
12    |             ^^^^^^
13 note: `m` could also refer to the macro imported here
14   --> $DIR/macros.rs:15:9
15    |
16 LL |     use two_macros::*;
17    |         ^^^^^^^^^^^^^
18    = help: consider adding an explicit import of `m` to disambiguate
19
20 error[E0659]: `m` is ambiguous
21   --> $DIR/macros.rs:16:5
22    |
23 LL |     m! {
24    |     ^ ambiguous name
25    |
26    = note: ambiguous because of a conflict between a name from a glob import and a macro-expanded name in the same module during import or macro resolution
27 note: `m` could refer to the macro imported here
28   --> $DIR/macros.rs:18:13
29    |
30 LL |         use foo::m;
31    |             ^^^^^^
32 note: `m` could also refer to the macro imported here
33   --> $DIR/macros.rs:15:9
34    |
35 LL |     use two_macros::*;
36    |         ^^^^^^^^^^^^^
37    = help: consider adding an explicit import of `m` to disambiguate
38
39 error[E0659]: `m` is ambiguous
40   --> $DIR/macros.rs:30:9
41    |
42 LL |         m! {
43    |         ^ ambiguous name
44    |
45    = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution
46 note: `m` could refer to the macro imported here
47   --> $DIR/macros.rs:31:17
48    |
49 LL |             use two_macros::n as m;
50    |                 ^^^^^^^^^^^^^^^^^^
51 note: `m` could also refer to the macro imported here
52   --> $DIR/macros.rs:23:9
53    |
54 LL |     use two_macros::m;
55    |         ^^^^^^^^^^^^^
56    = help: use `self::m` to refer to this macro unambiguously
57
58 error: aborting due to 3 previous errors
59
60 For more information about this error, try `rustc --explain E0659`.