Skip to content

Commit a74b492

Browse files
committed
fix expand_quote_ty function as parse_ty was changed and needs no arguments now
1 parent 29e928f commit a74b492

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libsyntax/ext/quote.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,9 +450,8 @@ pub fn expand_quote_ty(cx: &mut ExtCtxt,
450450
sp: Span,
451451
tts: &[ast::TokenTree])
452452
-> Box<base::MacResult+'static> {
453-
let e_param_colons = cx.expr_lit(sp, ast::LitBool(false));
454453
let expanded = expand_parse_call(cx, sp, "parse_ty",
455-
vec!(e_param_colons), tts);
454+
vec![], tts);
456455
base::MacExpr::new(expanded)
457456
}
458457

0 commit comments

Comments
 (0)