Updated existing tests.
This commit is contained in:
parent
3dfe256b5f
commit
6710bd8614
1 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,8 @@ error[E0382]: use of moved value: `x` (Mir)
|
|||
| - value moved here
|
||||
18 | let _ = (1,x); //~ ERROR use of moved value: `x` (Ast)
|
||||
| ^ value used here after move
|
||||
|
|
||||
= note: move occurs because `x` has type `std::boxed::Box<i32>`, which does not implement the `Copy` trait
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue