Skip to content

Commit

Permalink
please tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Sep 13, 2020
1 parent c95fa0a commit 0ea53f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/union/union-move.rs
Expand Up @@ -46,7 +46,7 @@ fn test3(x: U1) {
fn test4(x: U2) {
// Cannot move out of union that implements `Drop`.
unsafe {
move_out(x.f1_nocopy); //~ ERROR cannot move out of type `U2`, which implements the `Drop` trait
move_out(x.f1_nocopy); //~ ERROR cannot move out of type `U2`, which implements the `Drop`
}
}

Expand Down

0 comments on commit 0ea53f9

Please sign in to comment.