]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/bad-module.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / compile-fail / bad-module.rs
index 90164c52bc757f833b99951a9a98320632dad884..edc118cb0399b1f51851b60af703579e41998c00 100644 (file)
@@ -10,4 +10,4 @@
 
 // error-pattern: unresolved name
 
-fn main() { let foo = thing::len(~[]); }
+fn main() { let foo = thing::len(Vec::new()); }