about summary refs log tree commit diff
path: root/src/test/run-pass/foreach-nested-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/foreach-nested-2.rs')
-rw-r--r--src/test/run-pass/foreach-nested-2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/foreach-nested-2.rs b/src/test/run-pass/foreach-nested-2.rs
index 030bf33ed00..26d1caca5ab 100644
--- a/src/test/run-pass/foreach-nested-2.rs
+++ b/src/test/run-pass/foreach-nested-2.rs
@@ -10,7 +10,7 @@ iter range(start: int, stop: int) -> int {
 }
 
 fn main() {
-    let a: vec[mutable int] = [mutable -1, -1, -1, -1, -1, -1, -1, -1];
+    let a: [mutable int] = ~[mutable -1, -1, -1, -1, -1, -1, -1, -1];
     let p: int = 0;
     for each i: int  in two() {
         for each j: int  in range(0, 2) {