]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/unique-drop-complex.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / run-pass / unique-drop-complex.rs
index 2090352f9ce08c756c05a61f5a72d08fb976de5a..eb8fa640a0fd94a94cd0019cd54b3d6dbc405d53 100644 (file)
@@ -9,5 +9,5 @@
 // except according to those terms.
 
 pub fn main() {
-    let _x = ~~[0,0,0,0,0];
+    let _x = ~vec!(0,0,0,0,0);
 }