fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: `mut` must be followed by a named binding 2 --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:6:13 3 | 4LL | let mut $eval = (); 5 | ^^^^^^^^^ help: remove the `mut` prefix: `does_not_exist!()` 6... 7LL | mac1! { does_not_exist!() } 8 | --------------------------- in this macro invocation 9 | 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) 12 13error: expected identifier, found `does_not_exist!()` 14 --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:13:17 15 | 16LL | let mut $eval = (); 17 | ^^^^^ expected identifier 18... 19LL | mac2! { does_not_exist!() } 20 | --------------------------- in this macro invocation 21 | 22 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 23 24error: `mut` must be followed by a named binding 25 --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:13:13 26 | 27LL | let mut $eval = (); 28 | ^^^ help: remove the `mut` prefix: `does_not_exist!()` 29... 30LL | mac2! { does_not_exist!() } 31 | --------------------------- in this macro invocation 32 | 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) 35 36error: cannot find macro `does_not_exist` in this scope 37 --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:20:13 38 | 39LL | mac1! { does_not_exist!() } 40 | ^^^^^^^^^^^^^^ 41 42error: cannot find macro `does_not_exist` in this scope 43 --> $DIR/issue-65122-mac-invoc-in-mut-patterns.rs:22:13 44 | 45LL | mac2! { does_not_exist!() } 46 | ^^^^^^^^^^^^^^ 47 48error: aborting due to 5 previous errors 49