]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2005-default-binding-mode/for.stderr
4094c185063e688f0966eeee91f7a1381a4994a4
[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:18: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`.