]> git.lizzy.rs Git - rust.git/blobdiff - src/test/pretty/block-disambig.rs
test: Make manual changes to deal with the fallout from removal of
[rust.git] / src / test / pretty / block-disambig.rs
index 8e4427d9dd4e9f8e5cdb72d1e536245ba036d00f..acc03831290d0fe06a289bbca51362c6bc59383f 100644 (file)
@@ -15,6 +15,7 @@
 #[feature(managed_boxes)];
 
 use std::cell::Cell;
+use std::vec_ng::Vec;
 
 fn test1() { let val = @0; { } *val; }
 
@@ -61,7 +62,7 @@ fn test9() {
 fn test10() -> int {
     let regs = @vec!(0);
     match true { true => { } _ => { } }
-    (*regs)[0]
+    *(*regs).get(0)
 }
 
 fn test11() -> Vec<int> { if true { } vec!(1, 2) }