1 error: `mut` must be followed by a named binding
2 --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:6:13
4 LL | let mut $eval = ();
5 | ^^^^^^^^^ help: remove the `mut` prefix: `does_not_exist!()`
7 LL | mac1! { does_not_exist!() }
8 | --------------------------- in this macro invocation
10 = note: `mut` may be followed by `variable` and `variable @ pattern`
11 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
13 error: expected identifier, found `does_not_exist!()`
14 --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:13:17
16 LL | let mut $eval = ();
17 | ^^^^^ expected identifier
19 LL | mac2! { does_not_exist!() }
20 | --------------------------- in this macro invocation
22 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
24 error: `mut` must be followed by a named binding
25 --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:13:13
27 LL | let mut $eval = ();
28 | ^^^ help: remove the `mut` prefix: `does_not_exist!()`
30 LL | mac2! { does_not_exist!() }
31 | --------------------------- in this macro invocation
33 = note: `mut` may be followed by `variable` and `variable @ pattern`
34 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
36 error: cannot find macro `does_not_exist` in this scope
37 --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:20:13
39 LL | mac1! { does_not_exist!() }
42 error: cannot find macro `does_not_exist` in this scope
43 --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:22:13
45 LL | mac2! { does_not_exist!() }
48 error: aborting due to 5 previous errors