1 error[E0382]: use of moved value: `m`
2 --> $DIR/issue-53114-borrow-checks.rs:22:11
5 | - move occurs because `m` has type `M`, which does not implement the `Copy` trait
8 LL | match m { _ => { } } // #53114: should eventually be accepted too
9 | ^ value used here after move
11 error[E0382]: use of partially moved value: `mm`
12 --> $DIR/issue-53114-borrow-checks.rs:27:11
14 LL | match mm { (_x, _) => { } }
15 | -- value partially moved here
16 LL | match mm { (_, _y) => { } }
17 | ^^ value used here after partial move
19 = note: partial move occurs because `mm.0` has type `M`, which does not implement the `Copy` trait
21 error[E0382]: use of partially moved value: `mm`
22 --> $DIR/issue-53114-borrow-checks.rs:29:11
24 LL | match mm { (_, _y) => { } }
25 | -- value partially moved here
27 LL | match mm { (_, _) => { } }
28 | ^^ value used here after partial move
30 = note: partial move occurs because `mm.1` has type `M`, which does not implement the `Copy` trait
32 error[E0382]: use of moved value: `m`
33 --> $DIR/issue-53114-borrow-checks.rs:36:16
36 | - move occurs because `m` has type `M`, which does not implement the `Copy` trait
39 LL | if let _ = m { } // #53114: should eventually be accepted too
40 | ^ value used here after move
42 error[E0382]: use of partially moved value: `mm`
43 --> $DIR/issue-53114-borrow-checks.rs:41:22
45 LL | if let (_x, _) = mm { }
46 | -- value partially moved here
47 LL | if let (_, _y) = mm { }
48 | ^^ value used here after partial move
50 = note: partial move occurs because `mm.0` has type `M`, which does not implement the `Copy` trait
52 error[E0382]: use of partially moved value: `mm`
53 --> $DIR/issue-53114-borrow-checks.rs:43:21
55 LL | if let (_, _y) = mm { }
56 | -- value partially moved here
58 LL | if let (_, _) = mm { }
59 | ^^ value used here after partial move
61 = note: partial move occurs because `mm.1` has type `M`, which does not implement the `Copy` trait
63 error: aborting due to 6 previous errors
65 For more information about this error, try `rustc --explain E0382`.