1 error[E0507]: cannot move out of a shared reference
2 --> $DIR/move-ref-patterns-default-binding-modes.rs:8:22
4 LL | let (a, mut b) = &p;
8 | move occurs because `b` has type `U`, which does not implement the `Copy` trait
10 help: consider borrowing the pattern binding
12 LL | let (a, ref mut b) = &p;
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0507`.