]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-fail/unwind-rec.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / run-fail / unwind-rec.rs
index 016654500b4aca83e5dbd8425c7c6b54d08d4e35..7604f568fe79f3312b4be17a467d7b727b4bc242 100644 (file)
 
 // error-pattern:fail
 
-fn build() -> ~[int] {
+fn build() -> Vec<int> {
     fail!();
 }
 
-struct Blk { node: ~[int] }
+struct Blk { node: Vec<int> }
 
 fn main() {
     let _blk = Blk {