]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/error-codes/E0161.zflags.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / error-codes / E0161.zflags.stderr
index 536a81a4bc65aeb8376e83015ffb6b75aa822b0a..6beb29c57d52772f0bc4d98633023069760b59c0 100644 (file)
@@ -1,8 +1,8 @@
-error[E0161]: cannot move a value of type [i32]: the size of [i32] cannot be statically determined
-  --> $DIR/E0161.rs:22:9
+error[E0161]: cannot move a value of type dyn Bar: the size of dyn Bar cannot be statically determined
+  --> $DIR/E0161.rs:29:5
    |
-LL |     box *x;
-   |         ^^
+LL |     x.f();
+   |     ^
 
 error: aborting due to previous error