]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/qquote-1.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / compile-fail / qquote-1.rs
index 09cac75baa0fbd9b4de0ffe6cc4dc109464a1ec5..27201b7681313e5f93d6078f846ff4b63eb54cfd 100644 (file)
@@ -33,7 +33,7 @@ trait fake_ext_ctxt {
 type fake_session = parse::parse_sess;
 
 impl fake_ext_ctxt for fake_session {
-    fn cfg() -> ast::CrateConfig { ~[] }
+    fn cfg() -> ast::CrateConfig { Vec::new() }
     fn parse_sess() -> parse::parse_sess { self }
     fn call_site() -> span {
         codemap::span {