2021-10-20 08:56:10 -05:00
error[E0659]: `m` is ambiguous
2019-08-19 16:31:46 -05:00
--> $DIR/restricted-shadowing-modern.rs:104:17
2018-08-29 20:56:55 -05:00
|
2019-03-09 06:03:44 -06:00
LL | m!();
2018-09-07 18:51:20 -05:00
| ^ ambiguous name
2018-11-25 07:08:43 -06:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2018-08-29 20:56:55 -05:00
|
2021-10-20 08:56:10 -05:00
= 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
2018-11-04 16:11:59 -06:00
note: `m` could refer to the macro defined here
2018-09-07 18:50:57 -05:00
--> $DIR/restricted-shadowing-modern.rs:91:9
2018-08-29 20:56:55 -05:00
|
2018-09-07 18:50:57 -05:00
LL | macro m() { Right }
| ^^^^^^^^^^^^^^^^^^^
2018-08-29 20:56:55 -05:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2018-11-04 16:11:59 -06:00
note: `m` could also refer to the macro defined here
2019-08-19 16:31:46 -05:00
--> $DIR/restricted-shadowing-modern.rs:99:9
2018-08-29 20:56:55 -05:00
|
LL | macro m() {}
| ^^^^^^^^^^^^
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2022-06-20 21:25:52 -05:00
= note: this error originates in the macro `gen_gen_inner_invoc` which comes from the expansion of the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-29 20:56:55 -05:00
2021-10-20 08:56:10 -05:00
error[E0659]: `m` is ambiguous
2019-08-19 16:31:46 -05:00
--> $DIR/restricted-shadowing-modern.rs:147:33
2018-08-29 20:56:55 -05:00
|
2019-03-09 06:03:44 -06:00
LL | macro gen_invoc() { m!() }
2018-09-07 18:51:20 -05:00
| ^ ambiguous name
2018-11-25 07:08:43 -06:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2018-08-29 20:56:55 -05:00
|
2021-10-20 08:56:10 -05:00
= 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
2018-11-04 16:11:59 -06:00
note: `m` could refer to the macro defined here
2018-09-07 18:50:57 -05:00
--> $DIR/restricted-shadowing-modern.rs:91:9
2018-08-29 20:56:55 -05:00
|
2018-09-07 18:50:57 -05:00
LL | macro m() { Right }
| ^^^^^^^^^^^^^^^^^^^
2018-08-29 20:56:55 -05:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2018-11-04 16:11:59 -06:00
note: `m` could also refer to the macro defined here
2019-08-19 16:31:46 -05:00
--> $DIR/restricted-shadowing-modern.rs:143:9
2018-08-29 20:56:55 -05:00
|
LL | macro m() {}
| ^^^^^^^^^^^^
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2022-06-20 21:25:52 -05:00
= note: this error originates in the macro `gen_invoc` which comes from the expansion of the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-29 20:56:55 -05:00
2021-10-20 08:56:10 -05:00
error[E0659]: `m` is ambiguous
2019-08-19 16:31:46 -05:00
--> $DIR/restricted-shadowing-modern.rs:156:13
2018-08-29 20:56:55 -05:00
|
2019-03-09 06:03:44 -06:00
LL | m!();
2018-09-07 18:51:20 -05:00
| ^ ambiguous name
2018-11-25 07:08:43 -06:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2018-08-29 20:56:55 -05:00
|
2021-10-20 08:56:10 -05:00
= 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
2018-11-04 16:11:59 -06:00
note: `m` could refer to the macro defined here
2018-09-07 18:50:57 -05:00
--> $DIR/restricted-shadowing-modern.rs:91:9
2018-08-29 20:56:55 -05:00
|
2018-09-07 18:50:57 -05:00
LL | macro m() { Right }
| ^^^^^^^^^^^^^^^^^^^
2018-08-29 20:56:55 -05:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2018-11-04 16:11:59 -06:00
note: `m` could also refer to the macro defined here
2019-08-19 16:31:46 -05:00
--> $DIR/restricted-shadowing-modern.rs:153:9
2018-08-29 20:56:55 -05:00
|
LL | macro m() {}
| ^^^^^^^^^^^^
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2021-02-13 13:52:25 -06:00
= note: this error originates in the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-29 20:56:55 -05:00
2021-10-20 08:56:10 -05:00
error[E0659]: `m` is ambiguous
2019-08-19 16:31:46 -05:00
--> $DIR/restricted-shadowing-modern.rs:172:13
2018-08-29 20:56:55 -05:00
|
2019-03-09 06:03:44 -06:00
LL | m!();
2018-09-07 18:51:20 -05:00
| ^ ambiguous name
2018-11-25 07:08:43 -06:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2018-08-29 20:56:55 -05:00
|
2021-10-20 08:56:10 -05:00
= 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
2018-11-04 16:11:59 -06:00
note: `m` could refer to the macro defined here
2018-09-07 18:50:57 -05:00
--> $DIR/restricted-shadowing-modern.rs:91:9
2018-08-29 20:56:55 -05:00
|
2018-09-07 18:50:57 -05:00
LL | macro m() { Right }
| ^^^^^^^^^^^^^^^^^^^
2018-08-29 20:56:55 -05:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2018-11-04 16:11:59 -06:00
note: `m` could also refer to the macro defined here
2018-09-07 18:50:57 -05:00
--> $DIR/restricted-shadowing-modern.rs:87:9
2018-08-29 20:56:55 -05:00
|
2018-09-07 18:50:57 -05:00
LL | macro m() { Wrong }
| ^^^^^^^^^^^^^^^^^^^
2018-08-29 20:56:55 -05:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2021-02-13 13:52:25 -06:00
= note: this error originates in the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-29 20:56:55 -05:00
2021-10-20 08:56:10 -05:00
error[E0659]: `m` is ambiguous
2019-08-19 16:31:46 -05:00
--> $DIR/restricted-shadowing-modern.rs:190:17
2018-08-29 20:56:55 -05:00
|
2019-03-09 06:03:44 -06:00
LL | m!();
2018-09-07 18:51:20 -05:00
| ^ ambiguous name
2018-11-25 07:08:43 -06:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2018-08-29 20:56:55 -05:00
|
2021-10-20 08:56:10 -05:00
= 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
2018-11-04 16:11:59 -06:00
note: `m` could refer to the macro defined here
2018-09-07 18:50:57 -05:00
--> $DIR/restricted-shadowing-modern.rs:91:9
2018-08-29 20:56:55 -05:00
|
2018-09-07 18:50:57 -05:00
LL | macro m() { Right }
| ^^^^^^^^^^^^^^^^^^^
2018-08-29 20:56:55 -05:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2018-11-04 16:11:59 -06:00
note: `m` could also refer to the macro defined here
2018-09-07 18:50:57 -05:00
--> $DIR/restricted-shadowing-modern.rs:87:9
2018-08-29 20:56:55 -05:00
|
2018-09-07 18:50:57 -05:00
LL | macro m() { Wrong }
| ^^^^^^^^^^^^^^^^^^^
2018-08-29 20:56:55 -05:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2022-06-20 21:25:52 -05:00
= note: this error originates in the macro `gen_gen_inner_invoc` which comes from the expansion of the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-29 20:56:55 -05:00
2021-10-20 08:56:10 -05:00
error[E0659]: `m` is ambiguous
2019-08-19 16:31:46 -05:00
--> $DIR/restricted-shadowing-modern.rs:233:33
2018-08-29 20:56:55 -05:00
|
2019-03-09 06:03:44 -06:00
LL | macro gen_invoc() { m!() }
2018-09-07 18:51:20 -05:00
| ^ ambiguous name
2018-11-25 07:08:43 -06:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2018-08-29 20:56:55 -05:00
|
2021-10-20 08:56:10 -05:00
= 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
2018-11-04 16:11:59 -06:00
note: `m` could refer to the macro defined here
2018-09-07 18:50:57 -05:00
--> $DIR/restricted-shadowing-modern.rs:91:9
2018-08-29 20:56:55 -05:00
|
2018-09-07 18:50:57 -05:00
LL | macro m() { Right }
| ^^^^^^^^^^^^^^^^^^^
2018-08-29 20:56:55 -05:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2018-11-04 16:11:59 -06:00
note: `m` could also refer to the macro defined here
2018-09-07 18:50:57 -05:00
--> $DIR/restricted-shadowing-modern.rs:87:9
2018-08-29 20:56:55 -05:00
|
2018-09-07 18:50:57 -05:00
LL | macro m() { Wrong }
| ^^^^^^^^^^^^^^^^^^^
2018-08-29 20:56:55 -05:00
...
LL | include!();
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
2022-06-20 21:25:52 -05:00
= note: this error originates in the macro `gen_invoc` which comes from the expansion of the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-29 20:56:55 -05:00
error: aborting due to 6 previous errors
For more information about this error, try `rustc --explain E0659`.