]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-2281-part1.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / compile-fail / issue-2281-part1.rs
index bb24192445e84406be2404ee81a56df4795cdcba..9d4a691d4f950db2f7542db99fb204113047e504 100644 (file)
@@ -10,4 +10,4 @@
 
 // error-pattern: unresolved name `foobar`.
 
-fn main(args: ~[str]) { println!("{:?}", foobar); }
+fn main() { println!("{:?}", foobar); }