rollup merge of #19387: jauhien/fix-expand_quote_ty
Subj., expand_quote_ty produces wrong call to parse_ty now.
This commit is contained in:
commit
b738ece85f
1 changed files with 1 additions and 2 deletions
|
@ -450,9 +450,8 @@ pub fn expand_quote_ty(cx: &mut ExtCtxt,
|
||||||
sp: Span,
|
sp: Span,
|
||||||
tts: &[ast::TokenTree])
|
tts: &[ast::TokenTree])
|
||||||
-> Box<base::MacResult+'static> {
|
-> Box<base::MacResult+'static> {
|
||||||
let e_param_colons = cx.expr_lit(sp, ast::LitBool(false));
|
|
||||||
let expanded = expand_parse_call(cx, sp, "parse_ty",
|
let expanded = expand_parse_call(cx, sp, "parse_ty",
|
||||||
vec!(e_param_colons), tts);
|
vec![], tts);
|
||||||
base::MacExpr::new(expanded)
|
base::MacExpr::new(expanded)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue