Skip to content

Commit 22ea3a4

Browse files
committed
--bless you
1 parent 1ff99b7 commit 22ea3a4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/test/ui/binding/issue-53114-borrow-checks.stderr

+8-8
Original file line numberDiff line numberDiff line change
@@ -32,30 +32,30 @@ LL | match mm { (_, _) => { } }
3232
error[E0382]: use of moved value: `m`
3333
--> $DIR/issue-53114-borrow-checks.rs:36:16
3434
|
35-
34 | let m = M;
35+
LL | let m = M;
3636
| - move occurs because `m` has type `M`, which does not implement the `Copy` trait
37-
35 | drop(m);
37+
LL | drop(m);
3838
| - value moved here
39-
36 | if let _ = m { } // #53114: should eventually be accepted too
39+
LL | if let _ = m { } // #53114: should eventually be accepted too
4040
| ^ value used here after move
4141

4242
error[E0382]: use of moved value: `mm`
4343
--> $DIR/issue-53114-borrow-checks.rs:41:22
4444
|
45-
40 | if let (_x, _) = mm { }
45+
LL | if let (_x, _) = mm { }
4646
| -- value moved here
47-
41 | if let (_, _y) = mm { }
47+
LL | if let (_, _y) = mm { }
4848
| ^^ value used here after partial move
4949
|
5050
= note: move occurs because `mm.0` has type `M`, which does not implement the `Copy` trait
5151

5252
error[E0382]: use of moved value: `mm`
5353
--> $DIR/issue-53114-borrow-checks.rs:43:21
5454
|
55-
41 | if let (_, _y) = mm { }
55+
LL | if let (_, _y) = mm { }
5656
| -- value moved here
57-
42 |
58-
43 | if let (_, _) = mm { }
57+
LL |
58+
LL | if let (_, _) = mm { }
5959
| ^^ value used here after partial move
6060
|
6161
= note: move occurs because `mm.1` has type `M`, which does not implement the `Copy` trait

0 commit comments

Comments
 (0)