2019-10-04 21:34:26 -05:00
|
|
|
error: `mut` must be followed by a named binding
|
|
|
|
--> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:6:13
|
|
|
|
|
|
|
|
|
LL | let mut $eval = ();
|
2023-11-06 13:47:38 -06:00
|
|
|
| ^^^^ help: remove the `mut` prefix
|
2019-10-04 21:34:26 -05:00
|
|
|
...
|
|
|
|
LL | mac1! { does_not_exist!() }
|
|
|
|
| --------------------------- in this macro invocation
|
|
|
|
|
|
|
|
|
= note: `mut` may be followed by `variable` and `variable @ pattern`
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `mac1` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-10-04 21:34:26 -05:00
|
|
|
|
|
|
|
error: expected identifier, found `does_not_exist!()`
|
|
|
|
--> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:13:17
|
|
|
|
|
|
|
|
|
LL | let mut $eval = ();
|
|
|
|
| ^^^^^ expected identifier
|
|
|
|
...
|
|
|
|
LL | mac2! { does_not_exist!() }
|
|
|
|
| --------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-10-04 21:34:26 -05:00
|
|
|
|
|
|
|
error: `mut` must be followed by a named binding
|
|
|
|
--> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:13:13
|
|
|
|
|
|
|
|
|
LL | let mut $eval = ();
|
2023-11-06 13:47:38 -06:00
|
|
|
| ^^^ help: remove the `mut` prefix
|
2019-10-04 21:34:26 -05:00
|
|
|
...
|
|
|
|
LL | mac2! { does_not_exist!() }
|
|
|
|
| --------------------------- in this macro invocation
|
|
|
|
|
|
|
|
|
= note: `mut` may be followed by `variable` and `variable @ pattern`
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2019-10-04 21:34:26 -05:00
|
|
|
|
|
|
|
error: cannot find macro `does_not_exist` in this scope
|
2020-11-21 09:02:37 -06:00
|
|
|
--> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:22:13
|
2019-10-04 21:34:26 -05:00
|
|
|
|
|
2020-11-21 09:02:37 -06:00
|
|
|
LL | mac2! { does_not_exist!() }
|
2019-10-04 21:34:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: cannot find macro `does_not_exist` in this scope
|
2020-11-21 09:02:37 -06:00
|
|
|
--> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:20:13
|
2019-10-04 21:34:26 -05:00
|
|
|
|
|
2020-11-21 09:02:37 -06:00
|
|
|
LL | mac1! { does_not_exist!() }
|
2019-10-04 21:34:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|