From 4e543f7a935b58bdb343980543db173e26b5e31a Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Fri, 20 Sep 2013 03:15:21 +0200 Subject: [PATCH] fixed another test. --- src/test/compile-fail/functional-struct-update-noncopyable.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/compile-fail/functional-struct-update-noncopyable.rs b/src/test/compile-fail/functional-struct-update-noncopyable.rs index 02db7895195..7fccdba1723 100644 --- a/src/test/compile-fail/functional-struct-update-noncopyable.rs +++ b/src/test/compile-fail/functional-struct-update-noncopyable.rs @@ -21,6 +21,6 @@ impl Drop for A { } fn main() { let a = A { y: Arc::new(1), x: Arc::new(2) }; - let _b = A { y: Arc::new(3), ..a }; - let _c = a; //~ ERROR use of moved value + let _b = A { y: Arc::new(3), ..a }; //~ ERROR cannot move out of type `A` + let _c = a; }