rust/src/test/ui/rfc-2005-default-binding-mode/for.stderr
Taylor Cramer 3c65f53620 Stabilize match_default_bindings
This includes a submodule update to rustfmt
in order to allow a stable feature declaration.
2018-03-28 11:13:13 +02:00

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`.