]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/dst/dst-index.nll.stderr
Update output for borrowck=migrate compare mode.
[rust.git] / src / test / ui / dst / dst-index.nll.stderr
index 0aa85d3ed7a3d36f248e6d25c10b99f68c55adbd..d14760b707db2875b2a50e6b0391265912bfa661 100644 (file)
@@ -16,13 +16,31 @@ error[E0507]: cannot move out of borrowed content
 LL |     S[0];
    |     ^^^^ cannot move out of borrowed content
 
+error[E0507]: cannot move out of data in a `&` reference
+  --> $DIR/dst-index.rs:41:5
+   |
+LL |     S[0];
+   |     ^^^^
+   |     |
+   |     cannot move out of data in a `&` reference
+   |     cannot move
+
 error[E0507]: cannot move out of borrowed content
   --> $DIR/dst-index.rs:44:5
    |
 LL |     T[0];
    |     ^^^^ cannot move out of borrowed content
 
-error: aborting due to 4 previous errors
+error[E0507]: cannot move out of data in a `&` reference
+  --> $DIR/dst-index.rs:44:5
+   |
+LL |     T[0];
+   |     ^^^^
+   |     |
+   |     cannot move out of data in a `&` reference
+   |     cannot move
+
+error: aborting due to 6 previous errors
 
 Some errors occurred: E0161, E0507.
 For more information about an error, try `rustc --explain E0161`.