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:
Corey Richardson 2014-12-05 10:06:44 -08:00
commit b738ece85f

View File

@ -450,9 +450,8 @@ pub fn expand_quote_ty(cx: &mut ExtCtxt,
sp: Span,
tts: &[ast::TokenTree])
-> Box<base::MacResult+'static> {
let e_param_colons = cx.expr_lit(sp, ast::LitBool(false));
let expanded = expand_parse_call(cx, sp, "parse_ty",
vec!(e_param_colons), tts);
vec![], tts);
base::MacExpr::new(expanded)
}