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