please tidy

This commit is contained in:
Ralf Jung 2020-08-15 19:38:01 +02:00
parent c95fa0ac76
commit 0ea53f9901

View file

@ -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`
}
}