]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/borrowck/borrowck-field-sensitivity.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / borrowck / borrowck-field-sensitivity.stderr
index 158b2e42f2ddfcecc0161d553f7f11651023ded0..f1601336fca9b5e2b49a1d0898e3c9d455243033 100644 (file)
@@ -6,7 +6,7 @@ LL |     drop(x.b);
 LL |     drop(*x.b);
    |          ^^^^ value used here after move
    |
-   = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+   = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
 
 error[E0382]: use of moved value: `x.b`
   --> $DIR/borrowck-field-sensitivity.rs:14:10
@@ -16,7 +16,7 @@ LL |     let y = A { a: 3, .. x };
 LL |     drop(*x.b);
    |          ^^^^ value used here after move
    |
-   = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+   = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
 
 error[E0382]: borrow of moved value: `x.b`
   --> $DIR/borrowck-field-sensitivity.rs:20:13
@@ -26,7 +26,7 @@ LL |     drop(x.b);
 LL |     let p = &x.b;
    |             ^^^^ value borrowed here after move
    |
-   = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+   = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
 
 error[E0382]: borrow of moved value: `x.b`
   --> $DIR/borrowck-field-sensitivity.rs:27:13
@@ -36,7 +36,7 @@ LL |     let _y = A { a: 3, .. x };
 LL |     let p = &x.b;
    |             ^^^^ value borrowed here after move
    |
-   = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+   = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
 
 error[E0505]: cannot move out of `x.b` because it is borrowed
   --> $DIR/borrowck-field-sensitivity.rs:34:10
@@ -76,7 +76,7 @@ LL |     drop(x.b);
 LL |     drop(x.b);
    |          ^^^ value used here after move
    |
-   = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+   = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
 
 error[E0382]: use of moved value: `x.b`
   --> $DIR/borrowck-field-sensitivity.rs:62:10
@@ -86,7 +86,7 @@ LL |     let _y = A { a: 3, .. x };
 LL |     drop(x.b);
    |          ^^^ value used here after move
    |
-   = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+   = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
 
 error[E0382]: use of moved value: `x.b`
   --> $DIR/borrowck-field-sensitivity.rs:68:14
@@ -96,7 +96,7 @@ LL |     drop(x.b);
 LL |     let _z = A { a: 3, .. x };
    |              ^^^^^^^^^^^^^^^^ value used here after move
    |
-   = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+   = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
 
 error[E0382]: use of moved value: `x.b`
   --> $DIR/borrowck-field-sensitivity.rs:74:14
@@ -106,7 +106,7 @@ LL |     let _y = A { a: 3, .. x };
 LL |     let _z = A { a: 4, .. x };
    |              ^^^^^^^^^^^^^^^^ value used here after move
    |
-   = note: move occurs because `x.b` has type `std::boxed::Box<isize>`, which does not implement the `Copy` trait
+   = note: move occurs because `x.b` has type `Box<isize>`, which does not implement the `Copy` trait
 
 error[E0381]: assign to part of possibly-uninitialized variable: `x`
   --> $DIR/borrowck-field-sensitivity.rs:81:5