about summary refs log tree commit diff
path: root/src/test/ui/functional-struct-update
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/functional-struct-update')
-rw-r--r--src/test/ui/functional-struct-update/functional-struct-update-noncopyable.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/functional-struct-update/functional-struct-update-noncopyable.stderr b/src/test/ui/functional-struct-update/functional-struct-update-noncopyable.stderr
index a3497c59a52..5549adc8d0e 100644
--- a/src/test/ui/functional-struct-update/functional-struct-update-noncopyable.stderr
+++ b/src/test/ui/functional-struct-update/functional-struct-update-noncopyable.stderr
@@ -1,7 +1,7 @@
 error[E0509]: cannot move out of type `A`, which implements the `Drop` trait
   --> $DIR/functional-struct-update-noncopyable.rs:12:36
    |
-LL |     let _b = A { y: Arc::new(3), ..a }; //~ ERROR cannot move out of type `A`
+LL |     let _b = A { y: Arc::new(3), ..a };
    |                                    ^ cannot move out of here
 
 error: aborting due to previous error