about summary refs log tree commit diff
path: root/src/test/compile-fail/liveness-unused.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/liveness-unused.rs')
-rw-r--r--src/test/compile-fail/liveness-unused.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/liveness-unused.rs b/src/test/compile-fail/liveness-unused.rs
index b5157c669a7..970abf4fd94 100644
--- a/src/test/compile-fail/liveness-unused.rs
+++ b/src/test/compile-fail/liveness-unused.rs
@@ -68,5 +68,5 @@ impl Drop for r {
 
 fn main() {
     let x = r { x: () };
-    fn@(move x) { copy x; }; //~ ERROR copying a value of non-copyable type
+    fn@() { copy x; }; //~ ERROR copying a value of non-copyable type
 }