]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2005-default-binding-mode/for.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / rfc-2005-default-binding-mode / for.stderr
1 error[E0009]: cannot bind by-move and by-ref in the same pattern
2   --> $DIR/for.rs:6:13
3    |
4 LL |     for (n, mut m) in &tups {
5    |          -  ^^^^^ by-move pattern here
6    |          |
7    |          both by-ref and by-move used
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0009`.