2017-10-06 15:30:23 -05:00
|
|
|
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 {
|
2017-10-06 15:30:23 -05:00
|
|
|
| - ^^^^^ 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"
|