about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-04-10 18:22:24 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2020-04-10 18:22:24 +0200
commit22ea3a4476e3b2ecef218524f132b57ea14c64de (patch)
tree1380df57cf6c6b57c98abb8ef0f684e9951bb83a /src/test
parent1ff99b724ccafc5d0077827f6913f825be042949 (diff)
downloadrust-22ea3a4476e3b2ecef218524f132b57ea14c64de.tar.gz
rust-22ea3a4476e3b2ecef218524f132b57ea14c64de.zip
--bless you
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/binding/issue-53114-borrow-checks.stderr16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/test/ui/binding/issue-53114-borrow-checks.stderr b/src/test/ui/binding/issue-53114-borrow-checks.stderr
index f535a66cf63..2a7a721324d 100644
--- a/src/test/ui/binding/issue-53114-borrow-checks.stderr
+++ b/src/test/ui/binding/issue-53114-borrow-checks.stderr
@@ -32,19 +32,19 @@ LL |     match mm { (_, _) => { } }
 error[E0382]: use of moved value: `m`
   --> $DIR/issue-53114-borrow-checks.rs:36:16
    |
-34 |     let m = M;
+LL |     let m = M;
    |         - move occurs because `m` has type `M`, which does not implement the `Copy` trait
-35 |     drop(m);
+LL |     drop(m);
    |          - value moved here
-36 |     if let _ = m { } // #53114: should eventually be accepted too
+LL |     if let _ = m { } // #53114: should eventually be accepted too
    |                ^ value used here after move
 
 error[E0382]: use of moved value: `mm`
   --> $DIR/issue-53114-borrow-checks.rs:41:22
    |
-40 |     if let (_x, _) = mm { }
+LL |     if let (_x, _) = mm { }
    |             -- value moved here
-41 |     if let (_, _y) = mm { }
+LL |     if let (_, _y) = mm { }
    |                      ^^ value used here after partial move
    |
    = note: move occurs because `mm.0` has type `M`, which does not implement the `Copy` trait
@@ -52,10 +52,10 @@ error[E0382]: use of moved value: `mm`
 error[E0382]: use of moved value: `mm`
   --> $DIR/issue-53114-borrow-checks.rs:43:21
    |
-41 |     if let (_, _y) = mm { }
+LL |     if let (_, _y) = mm { }
    |                -- value moved here
-42 |
-43 |     if let (_, _) = mm { }
+LL |
+LL |     if let (_, _) = mm { }
    |                     ^^ value used here after partial move
    |
    = note: move occurs because `mm.1` has type `M`, which does not implement the `Copy` trait