about summary refs log tree commit diff
path: root/src/test/run-pass/foreach-nested.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/foreach-nested.rs')
-rw-r--r--src/test/run-pass/foreach-nested.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/foreach-nested.rs b/src/test/run-pass/foreach-nested.rs
index 3cc0a5a82f1..007117b04cb 100644
--- a/src/test/run-pass/foreach-nested.rs
+++ b/src/test/run-pass/foreach-nested.rs
@@ -5,7 +5,7 @@
 fn two(it: fn(int)) { it(0); it(1); }
 
 fn main() {
-    let a: [mut int] = [mut -1, -1, -1, -1];
+    let a: [mut int]/~ = [mut -1, -1, -1, -1]/~;
     let mut p: int = 0;
     two {|i|
         two {|j| a[p] = 10 * i + j; p += 1; };