fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution) 2 --> $DIR/restricted-shadowing-modern.rs:104:17 3 | 4LL | m!(); 5 | ^ ambiguous name 6... 7LL | include!(); 8 | ----------- in this macro invocation 9 | 10note: `m` could refer to the macro defined here 11 --> $DIR/restricted-shadowing-modern.rs:91:9 12 | 13LL | macro m() { Right } 14 | ^^^^^^^^^^^^^^^^^^^ 15... 16LL | include!(); 17 | ----------- in this macro invocation 18note: `m` could also refer to the macro defined here 19 --> $DIR/restricted-shadowing-modern.rs:99:9 20 | 21LL | macro m() {} 22 | ^^^^^^^^^^^^ 23... 24LL | include!(); 25 | ----------- in this macro invocation 26 27error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution) 28 --> $DIR/restricted-shadowing-modern.rs:147:33 29 | 30LL | macro gen_invoc() { m!() } 31 | ^ ambiguous name 32... 33LL | include!(); 34 | ----------- in this macro invocation 35 | 36note: `m` could refer to the macro defined here 37 --> $DIR/restricted-shadowing-modern.rs:91:9 38 | 39LL | macro m() { Right } 40 | ^^^^^^^^^^^^^^^^^^^ 41... 42LL | include!(); 43 | ----------- in this macro invocation 44note: `m` could also refer to the macro defined here 45 --> $DIR/restricted-shadowing-modern.rs:143:9 46 | 47LL | macro m() {} 48 | ^^^^^^^^^^^^ 49... 50LL | include!(); 51 | ----------- in this macro invocation 52 53error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution) 54 --> $DIR/restricted-shadowing-modern.rs:156:13 55 | 56LL | m!(); 57 | ^ ambiguous name 58... 59LL | include!(); 60 | ----------- in this macro invocation 61 | 62note: `m` could refer to the macro defined here 63 --> $DIR/restricted-shadowing-modern.rs:91:9 64 | 65LL | macro m() { Right } 66 | ^^^^^^^^^^^^^^^^^^^ 67... 68LL | include!(); 69 | ----------- in this macro invocation 70note: `m` could also refer to the macro defined here 71 --> $DIR/restricted-shadowing-modern.rs:153:9 72 | 73LL | macro m() {} 74 | ^^^^^^^^^^^^ 75... 76LL | include!(); 77 | ----------- in this macro invocation 78 79error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution) 80 --> $DIR/restricted-shadowing-modern.rs:172:13 81 | 82LL | m!(); 83 | ^ ambiguous name 84... 85LL | include!(); 86 | ----------- in this macro invocation 87 | 88note: `m` could refer to the macro defined here 89 --> $DIR/restricted-shadowing-modern.rs:91:9 90 | 91LL | macro m() { Right } 92 | ^^^^^^^^^^^^^^^^^^^ 93... 94LL | include!(); 95 | ----------- in this macro invocation 96note: `m` could also refer to the macro defined here 97 --> $DIR/restricted-shadowing-modern.rs:87:9 98 | 99LL | macro m() { Wrong } 100 | ^^^^^^^^^^^^^^^^^^^ 101... 102LL | include!(); 103 | ----------- in this macro invocation 104 105error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution) 106 --> $DIR/restricted-shadowing-modern.rs:190:17 107 | 108LL | m!(); 109 | ^ ambiguous name 110... 111LL | include!(); 112 | ----------- in this macro invocation 113 | 114note: `m` could refer to the macro defined here 115 --> $DIR/restricted-shadowing-modern.rs:91:9 116 | 117LL | macro m() { Right } 118 | ^^^^^^^^^^^^^^^^^^^ 119... 120LL | include!(); 121 | ----------- in this macro invocation 122note: `m` could also refer to the macro defined here 123 --> $DIR/restricted-shadowing-modern.rs:87:9 124 | 125LL | macro m() { Wrong } 126 | ^^^^^^^^^^^^^^^^^^^ 127... 128LL | include!(); 129 | ----------- in this macro invocation 130 131error[E0659]: `m` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution) 132 --> $DIR/restricted-shadowing-modern.rs:233:33 133 | 134LL | macro gen_invoc() { m!() } 135 | ^ ambiguous name 136... 137LL | include!(); 138 | ----------- in this macro invocation 139 | 140note: `m` could refer to the macro defined here 141 --> $DIR/restricted-shadowing-modern.rs:91:9 142 | 143LL | macro m() { Right } 144 | ^^^^^^^^^^^^^^^^^^^ 145... 146LL | include!(); 147 | ----------- in this macro invocation 148note: `m` could also refer to the macro defined here 149 --> $DIR/restricted-shadowing-modern.rs:87:9 150 | 151LL | macro m() { Wrong } 152 | ^^^^^^^^^^^^^^^^^^^ 153... 154LL | include!(); 155 | ----------- in this macro invocation 156 157error: aborting due to 6 previous errors 158 159For more information about this error, try `rustc --explain E0659`.