summary refs log tree commit diff
path: root/src/test/ui/rfc-2005-default-binding-mode/for.stderr
blob: dbd4bd5dbec4359e91f21c9ab609c446ccac6d53 (plain)
1
2
3
4
5
6
7
8
9
10
11
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`.