]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/pattern/bindings-after-at/borrowck-pat-at-and-box.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / pattern / bindings-after-at / borrowck-pat-at-and-box.stderr
index 5ce546f08bf6f41e21ea5cb70a74c88205280f88..44888369ab2f71c23a7ab995a0a6f072c12e5653 100644 (file)
@@ -74,7 +74,7 @@ error[E0382]: use of moved value
   --> $DIR/borrowck-pat-at-and-box.rs:21:18
    |
 LL |     let a @ box &b = Box::new(&C);
-   |         ---------^   ------------ move occurs because value has type `std::boxed::Box<&C>`, which does not implement the `Copy` trait
+   |         ---------^   ------------ move occurs because value has type `Box<&C>`, which does not implement the `Copy` trait
    |         |        |
    |         |        value used here after move
    |         value moved here
@@ -83,7 +83,7 @@ error[E0382]: use of moved value
   --> $DIR/borrowck-pat-at-and-box.rs:24:17
    |
 LL |     let a @ box b = Box::new(C);
-   |         --------^   ----------- move occurs because value has type `std::boxed::Box<C>`, which does not implement the `Copy` trait
+   |         --------^   ----------- move occurs because value has type `Box<C>`, which does not implement the `Copy` trait
    |         |       |
    |         |       value used here after move
    |         value moved here
@@ -92,7 +92,7 @@ error[E0382]: use of moved value
   --> $DIR/borrowck-pat-at-and-box.rs:34:17
    |
 LL |     match Box::new(C) {
-   |           ----------- move occurs because value has type `std::boxed::Box<C>`, which does not implement the `Copy` trait
+   |           ----------- move occurs because value has type `Box<C>`, which does not implement the `Copy` trait
 LL |         a @ box b => {}
    |         --------^
    |         |       |
@@ -143,7 +143,7 @@ LL |     fn f1(a @ box &b: Box<&C>) {}
    |           |        |
    |           |        value used here after move
    |           value moved here
-   |           move occurs because value has type `std::boxed::Box<&C>`, which does not implement the `Copy` trait
+   |           move occurs because value has type `Box<&C>`, which does not implement the `Copy` trait
 
 error[E0382]: use of moved value
   --> $DIR/borrowck-pat-at-and-box.rs:30:19
@@ -153,7 +153,7 @@ LL |     fn f2(a @ box b: Box<C>) {}
    |           |       |
    |           |       value used here after move
    |           value moved here
-   |           move occurs because value has type `std::boxed::Box<C>`, which does not implement the `Copy` trait
+   |           move occurs because value has type `Box<C>`, which does not implement the `Copy` trait
 
 error[E0502]: cannot borrow value as immutable because it is also borrowed as mutable
   --> $DIR/borrowck-pat-at-and-box.rs:58:27