From 0ea53f9901d290ef3335061ee46c7853a78139c9 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 15 Aug 2020 19:38:01 +0200 Subject: [PATCH] please tidy --- src/test/ui/union/union-move.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ui/union/union-move.rs b/src/test/ui/union/union-move.rs index b19b61282f06a..a0a2d0d659837 100644 --- a/src/test/ui/union/union-move.rs +++ b/src/test/ui/union/union-move.rs @@ -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` } }