fix expand_quote_ty function as parse_ty was changed and needs no arguments now

This commit is contained in:
Jauhien Piatlicki 2014-11-29 01:36:34 +01:00
parent 29e928f2ba
commit a74b492763

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)
}