rust/src/test/ui/rfc-2005-default-binding-mode/for.stderr

12 lines
350 B
Plaintext
Raw Normal View History

error[E0009]: cannot bind by-move and by-ref in the same pattern
--> $DIR/for.rs:18:13
|
2018-02-22 18:42:32 -06:00
LL | for (n, mut m) in &tups {
| - ^^^^^ by-move pattern here
| |
| both by-ref and by-move used
error: aborting due to previous error
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0009"