We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2375dc0 commit fe21e4cCopy full SHA for fe21e4c
src/test/ui/union/union-move.rs
@@ -46,7 +46,7 @@ fn test3(x: U1) {
46
fn test4(x: U2) {
47
// Cannot move out of union that implements `Drop`.
48
unsafe {
49
- 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`
50
}
51
52
0 commit comments