3c65f53620
This includes a submodule update to rustfmt in order to allow a stable feature declaration.
12 lines
340 B
Plaintext
12 lines
340 B
Plaintext
error[E0009]: cannot bind by-move and by-ref in the same pattern
|
|
--> $DIR/for.rs:16:13
|
|
|
|
|
LL | for (n, mut m) in &tups {
|
|
| - ^^^^^ by-move pattern here
|
|
| |
|
|
| both by-ref and by-move used
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0009`.
|