]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass-fulldeps/qquote.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / run-pass-fulldeps / qquote.rs
index 1c797d8369f6af84abc3a92c6560ca929cf9f6a5..1e26ce0c4f3e28947f12248d62439697932f7de6 100644 (file)
@@ -35,7 +35,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 {