about summary refs log tree commit diff
path: root/src/test/compile-fail/liveness-move-in-while.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/liveness-move-in-while.rs')
-rw-r--r--src/test/compile-fail/liveness-move-in-while.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/liveness-move-in-while.rs b/src/test/compile-fail/liveness-move-in-while.rs
index d5a95b08bd8..261eb310890 100644
--- a/src/test/compile-fail/liveness-move-in-while.rs
+++ b/src/test/compile-fail/liveness-move-in-while.rs
@@ -5,7 +5,7 @@ fn main() {
     loop {
         log(debug, y);
         while true { while true { while true { x <- y; copy x; } } }
-        //!^ ERROR use of moved variable: `y`
-        //!^^ NOTE move of variable occurred here
+        //~^ ERROR use of moved variable: `y`
+        //~^^ NOTE move of variable occurred here
     }
 }