]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-pass-fulldeps/ast_stmt_expr_attr.rs
New upstream version 1.14.0+dfsg1
[rustc.git] / src / test / run-pass-fulldeps / ast_stmt_expr_attr.rs
index 64747002a65b03542eab3abc54bd4f4950be6a02..a41b34f6a53d0a3e08e5c32a6077b80b00ec414a 100644 (file)
@@ -31,10 +31,7 @@ use std::fmt;
 // Copied out of syntax::util::parser_testing
 
 pub fn string_to_parser<'a>(ps: &'a ParseSess, source_str: String) -> Parser<'a> {
-    new_parser_from_source_str(ps,
-                               Vec::new(),
-                               "bogofile".to_string(),
-                               source_str)
+    new_parser_from_source_str(ps, "bogofile".to_string(), source_str)
 }
 
 fn with_error_checking_parse<'a, T, F>(s: String, ps: &'a ParseSess, f: F) -> PResult<'a, T> where