]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/liveness/liveness-use-after-move.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / liveness / liveness-use-after-move.stderr
index 383b89afaa75ecad233fb25327303b3ef48a1fae..3977a3f4136d28b21f4cafd0672c4eb4d42506f8 100644 (file)
@@ -2,7 +2,7 @@ error[E0382]: borrow of moved value: `x`
   --> $DIR/liveness-use-after-move.rs:6:20
    |
 LL |     let x: Box<_> = box 5;
-   |         - move occurs because `x` has type `std::boxed::Box<i32>`, which does not implement the `Copy` trait
+   |         - move occurs because `x` has type `Box<i32>`, which does not implement the `Copy` trait
 LL |     let y = x;
    |             - value moved here
 LL |     println!("{}", *x);