]> git.proxmox.com Git - rustc.git/blob - src/test/ui/imports/macros.stderr
New upstream version 1.25.0+dfsg1
[rustc.git] / src / test / ui / imports / macros.stderr
1 error: `m` is ambiguous
2 --> $DIR/macros.rs:50:5
3 |
4 50 | m!(); //~ ERROR ambiguous
5 | ^
6 |
7 note: `m` could refer to the macro defined here
8 --> $DIR/macros.rs:48:5
9 |
10 48 | macro_rules! m { () => {} }
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 note: `m` could also refer to the macro imported here
13 --> $DIR/macros.rs:49:9
14 |
15 49 | use two_macros::m;
16 | ^^^^^^^^^^^^^
17
18 error[E0659]: `m` is ambiguous
19 --> $DIR/macros.rs:28:5
20 |
21 28 | m! { //~ ERROR ambiguous
22 | ^
23 |
24 note: `m` could refer to the name imported here
25 --> $DIR/macros.rs:29:13
26 |
27 29 | use foo::m;
28 | ^^^^^^
29 note: `m` could also refer to the name imported here
30 --> $DIR/macros.rs:27:9
31 |
32 27 | use two_macros::*;
33 | ^^^^^^^^^^^^^
34 = note: macro-expanded macro imports do not shadow
35
36 error[E0659]: `m` is ambiguous
37 --> $DIR/macros.rs:41:9
38 |
39 41 | m! { //~ ERROR ambiguous
40 | ^
41 |
42 note: `m` could refer to the name imported here
43 --> $DIR/macros.rs:42:17
44 |
45 42 | use two_macros::n as m;
46 | ^^^^^^^^^^^^^^^^^^
47 note: `m` could also refer to the name imported here
48 --> $DIR/macros.rs:34:9
49 |
50 34 | use two_macros::m;
51 | ^^^^^^^^^^^^^
52 = note: macro-expanded macro imports do not shadow
53
54 error[E0601]: main function not found
55
56 error: aborting due to 4 previous errors
57