Skip to content

Commit b738ece

Browse files
committed
rollup merge of #19387: jauhien/fix-expand_quote_ty
Subj., expand_quote_ty produces wrong call to parse_ty now.
2 parents be75f2e + a74b492 commit b738ece

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)