about summary refs log tree commit diff
path: root/src/test/debug-info/managed-pointer-within-unique-vec.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-03-05 14:02:44 -0800
committerHuon Wilson <dbau.pp+github@gmail.com>2014-03-21 23:37:21 +1100
commit579eb2400b3cb5d9cf03a5c8792d63630489193a (patch)
tree70c72f3543770a13bdde43159c05d84b31afc580 /src/test/debug-info/managed-pointer-within-unique-vec.rs
parent0b714b4ba6411c6997324d442a3df602e5920ff5 (diff)
downloadrust-579eb2400b3cb5d9cf03a5c8792d63630489193a.tar.gz
rust-579eb2400b3cb5d9cf03a5c8792d63630489193a.zip
test: Automatically remove all `~[T]` from tests.
Diffstat (limited to 'src/test/debug-info/managed-pointer-within-unique-vec.rs')
-rw-r--r--src/test/debug-info/managed-pointer-within-unique-vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/debug-info/managed-pointer-within-unique-vec.rs b/src/test/debug-info/managed-pointer-within-unique-vec.rs
index 5b9ab0e8ce5..50f39461392 100644
--- a/src/test/debug-info/managed-pointer-within-unique-vec.rs
+++ b/src/test/debug-info/managed-pointer-within-unique-vec.rs
@@ -33,7 +33,7 @@
 
 fn main() {
 
-    let unique: ~[@i64] = ~[@10, @11, @12, @13];
+    let unique: Vec<@i64> = vec!(@10, @11, @12, @13);
 
     zzz();
 }