LL | let mut mut yield(become, await) = r#yield(0, 0);
| ^^^^^ expected identifier, found reserved keyword
|
-help: you can escape reserved keywords to use them as identifiers
+help: escape `yield` to use it as an identifier
|
LL | let mut mut r#yield(become, await) = r#yield(0, 0);
- | ^^^^^^^
+ | ++
error: expected identifier, found reserved keyword `become`
--> $DIR/mut-patterns.rs:28:23
LL | let mut mut yield(become, await) = r#yield(0, 0);
| ^^^^^^ expected identifier, found reserved keyword
|
-help: you can escape reserved keywords to use them as identifiers
+help: escape `become` to use it as an identifier
|
LL | let mut mut yield(r#become, await) = r#yield(0, 0);
- | ^^^^^^^^
+ | ++
error: expected identifier, found keyword `await`
--> $DIR/mut-patterns.rs:28:31
LL | let mut mut yield(become, await) = r#yield(0, 0);
| ^^^^^ expected identifier, found keyword
|
-help: you can escape reserved keywords to use them as identifiers
+help: escape `await` to use it as an identifier
|
LL | let mut mut yield(become, r#await) = r#yield(0, 0);
- | ^^^^^^^
+ | ++
error: `mut` must be attached to each individual binding
--> $DIR/mut-patterns.rs:28:9
| ^^ expected identifier
...
LL | foo!(x);
- | -------- in this macro invocation
+ | ------- in this macro invocation
|
= note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)