Skip to content

Commit 6710bd8

Browse files
committed
Updated existing tests.
1 parent 3dfe256 commit 6710bd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/ui/borrowck/borrowck-reinit.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ error[E0382]: use of moved value: `x` (Mir)
1515
| - value moved here
1616
18 | let _ = (1,x); //~ ERROR use of moved value: `x` (Ast)
1717
| ^ value used here after move
18+
|
19+
= note: move occurs because `x` has type `std::boxed::Box<i32>`, which does not implement the `Copy` trait
1820

1921
error: aborting due to 2 previous errors
2022

0 commit comments

Comments
 (0)