please tidy
This commit is contained in:
parent
c95fa0ac76
commit
0ea53f9901
1 changed files with 1 additions and 1 deletions
|
@ -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`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue