]> git.lizzy.rs Git - rust.git/commitdiff
./x.py test src/test/ui --stage 1 --bless -i --compare-mode=nll
authorClint Frederickson <clint.frederickson@ironcorelabs.com>
Wed, 20 Feb 2019 16:54:10 +0000 (09:54 -0700)
committerClint Frederickson <clint.frederickson@ironcorelabs.com>
Wed, 20 Feb 2019 16:54:10 +0000 (09:54 -0700)
src/test/ui/borrowck/borrowck-uninit-field-access.ast.nll.stderr
src/test/ui/moves/moves-based-on-type-cyclic-types-issue-4821.nll.stderr
src/test/ui/moves/moves-based-on-type-match-bindings.nll.stderr
src/test/ui/ref-suggestion.nll.stderr
src/test/ui/unsized-locals/borrow-after-move.nll.stderr
src/test/ui/unsized-locals/double-move.nll.stderr

index bdec94b4f84b0dd4ed3112d620a65fb3d1d583cb..99cbf64fd5d466b6a3701d981fa651ef60760b53 100644 (file)
@@ -20,7 +20,7 @@ error[E0382]: use of moved value: `line2`
 LL |     let _moved = (line2.origin, line2.middle);
    |                                 ------------ value moved here
 LL |     line2.consume(); //[ast]~ ERROR use of partially moved value: `line2` [E0382]
-   |     ^^^^^ value used here after move
+   |     ^^^^^ value used here after partial move
    |
    = note: move occurs because `line2.middle` has type `Point`, which does not implement the `Copy` trait
 
index 99550235f6969bc6c6b0df9aebdcabb5c624cc1e..5f0d2b42671de71633e5053db328e0981ad9fc52 100644 (file)
@@ -5,7 +5,7 @@ LL |         Some(right) => consume(right),
    |              ----- value moved here
 ...
 LL |     consume(node) + r //~ ERROR use of partially moved value: `node`
-   |             ^^^^ value used here after move
+   |             ^^^^ value used here after partial move
    |
    = note: move occurs because value has type `std::boxed::Box<List>`, which does not implement the `Copy` trait
 
index 481c492e16469c63390a059058dced65834b4622..6d523fc09c08b9dcddcc025f7bbd6934963868f1 100644 (file)
@@ -5,7 +5,7 @@ LL |         Foo {f} => {}
    |              - value moved here
 ...
 LL |     touch(&x); //~ ERROR use of partially moved value: `x`
-   |           ^^ value borrowed here after move
+   |           ^^ value borrowed here after partial move
    |
    = note: move occurs because `x.f` has type `std::string::String`, which does not implement the `Copy` trait
 
index bef8dcca921e61a2b20b9cfe3c62af8e46bde921..402f3c77cdb7b27330752f2bae1648e10c328abf 100644 (file)
@@ -25,7 +25,7 @@ LL |         (Some(y), ()) => {},
    |               - value moved here
 ...
 LL |     x; //~ ERROR use of partially moved value
-   |     ^ value used here after move
+   |     ^ value used here after partial move
    |
    = note: move occurs because value has type `std::vec::Vec<i32>`, which does not implement the `Copy` trait
 
index 0e6a6f6369a15f091dd93b15a782bf0ceb4f4ab3..010e182674b75b2e4458811f250e06a132cbb546 100644 (file)
@@ -5,7 +5,7 @@ LL |         let y = *x;
    |                 -- value moved here
 LL |         drop_unsized(y);
 LL |         println!("{}", &x);
-   |                        ^^ value borrowed here after move
+   |                        ^^ value borrowed here after partial move
    |
    = note: move occurs because `*x` has type `str`, which does not implement the `Copy` trait
 
@@ -27,7 +27,7 @@ LL |         let y = *x;
    |                 -- value moved here
 LL |         y.foo();
 LL |         println!("{}", &x);
-   |                        ^^ value borrowed here after move
+   |                        ^^ value borrowed here after partial move
    |
    = note: move occurs because `*x` has type `str`, which does not implement the `Copy` trait
 
@@ -48,7 +48,7 @@ error[E0382]: borrow of moved value: `x`
 LL |         x.foo();
    |         - value moved here
 LL |         println!("{}", &x);
-   |                        ^^ value borrowed here after move
+   |                        ^^ value borrowed here after partial move
    |
    = note: move occurs because `*x` has type `str`, which does not implement the `Copy` trait
 
index e40289af5ad3d7487f5dc53f7105f4b6be83efdc..c0c3e436f535be5b7b43840fa18916a89f488f37 100644 (file)
@@ -14,7 +14,7 @@ error[E0382]: use of moved value: `x`
 LL |         let _y = *x;
    |                  -- value moved here
 LL |         drop_unsized(x); //~ERROR use of moved value
-   |                      ^ value used here after move
+   |                      ^ value used here after partial move
    |
    = note: move occurs because `*x` has type `str`, which does not implement the `Copy` trait