Rebase fallout.
This commit is contained in:
parent
52f2350c63
commit
ce9daa2f91
@ -71,9 +71,8 @@ error[E0382]: use of moved value
|
||||
--> $DIR/borrowck-move-and-move.rs:22:12
|
||||
|
|
||||
LL | fn fun(a @ b: U) {}
|
||||
| ^----
|
||||
| | |
|
||||
| | value moved here
|
||||
| ^ - value moved here
|
||||
| |
|
||||
| value used here after move
|
||||
| move occurs because value has type `U`, which does not implement the `Copy` trait
|
||||
|
||||
|
@ -314,9 +314,8 @@ error[E0382]: borrow of moved value
|
||||
--> $DIR/borrowck-pat-by-move-and-ref.rs:11:11
|
||||
|
|
||||
LL | fn f1(ref a @ b: U) {}
|
||||
| ^^^^^----
|
||||
| | |
|
||||
| | value moved here
|
||||
| ^^^^^ - value moved here
|
||||
| |
|
||||
| value borrowed here after move
|
||||
| move occurs because value has type `U`, which does not implement the `Copy` trait
|
||||
|
||||
|
@ -434,9 +434,8 @@ error[E0382]: borrow of moved value
|
||||
--> $DIR/borrowck-pat-ref-mut-and-ref.rs:28:30
|
||||
|
|
||||
LL | fn f4_also_moved(ref a @ ref mut b @ c: U) {}
|
||||
| --------^^^^^^^^^----
|
||||
| | | |
|
||||
| | | value moved here
|
||||
| ----- ^^^^^^^^^ - value moved here
|
||||
| | |
|
||||
| | value borrowed here after move
|
||||
| move occurs because value has type `U`, which does not implement the `Copy` trait
|
||||
|
||||
|
@ -328,9 +328,8 @@ error[E0382]: borrow of moved value
|
||||
--> $DIR/borrowck-pat-ref-mut-twice.rs:21:34
|
||||
|
|
||||
LL | fn f4_also_moved(ref mut a @ ref mut b @ c: U) {}
|
||||
| ------------^^^^^^^^^----
|
||||
| | | |
|
||||
| | | value moved here
|
||||
| --------- ^^^^^^^^^ - value moved here
|
||||
| | |
|
||||
| | value borrowed here after move
|
||||
| move occurs because value has type `U`, which does not implement the `Copy` trait
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user