diff options
| author | Corey Richardson <corey@octayn.net> | 2014-12-05 10:06:44 -0800 |
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2014-12-05 10:06:44 -0800 |
| commit | b738ece85f01a136adb405aa5f1ba960f3efb190 (patch) | |
| tree | 5bf8bea04465de5560fc5a1cf79140fa4944111f /src/libsyntax | |
| parent | be75f2e090f4a6bd3d649a98708aa4bc6a6a0692 (diff) | |
| parent | a74b492763a212399276133287b053616dad0306 (diff) | |
| download | rust-b738ece85f01a136adb405aa5f1ba960f3efb190.tar.gz rust-b738ece85f01a136adb405aa5f1ba960f3efb190.zip | |
rollup merge of #19387: jauhien/fix-expand_quote_ty
Subj., expand_quote_ty produces wrong call to parse_ty now.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/quote.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/ext/quote.rs b/src/libsyntax/ext/quote.rs index 3fca110a881..45752499ad5 100644 --- a/src/libsyntax/ext/quote.rs +++ b/src/libsyntax/ext/quote.rs @@ -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) } |
