about summary refs log tree commit diff
path: root/src/test/compile-fail/assign-imm-local-twice.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/assign-imm-local-twice.rs')
-rw-r--r--src/test/compile-fail/assign-imm-local-twice.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/assign-imm-local-twice.rs b/src/test/compile-fail/assign-imm-local-twice.rs
index 7472ebe7eff..54b130ae26f 100644
--- a/src/test/compile-fail/assign-imm-local-twice.rs
+++ b/src/test/compile-fail/assign-imm-local-twice.rs
@@ -1,8 +1,8 @@
 fn test() {
     let v: int;
-    v = 1; //! NOTE prior assignment occurs here
+    v = 1; //~ NOTE prior assignment occurs here
     #debug["v=%d", v];
-    v = 2; //! ERROR re-assignment of immutable variable
+    v = 2; //~ ERROR re-assignment of immutable variable
     #debug["v=%d", v];
 }