1 // Verify the binding mode shifts - only when no `&` are auto-dereferenced is the
2 // final default binding mode mutable.
7 *n += 1; //~ ERROR cannot assign to `*n`, which is behind a `&` reference
13 match &mut &Some(5i32) {
15 *n += 1; //~ ERROR cannot assign to `*n`, which is behind a `&` reference
21 match &&mut Some(5i32) {
23 *n += 1; //~ ERROR cannot assign to `*n`, which is behind a `&` reference