diff options
| author | Mathieu Poumeyrol <kali@zoy.org> | 2014-12-02 17:10:07 +0100 |
|---|---|---|
| committer | Mathieu Poumeyrol <kali@zoy.org> | 2014-12-19 15:25:02 +0100 |
| commit | 8920181052c8b66bcc73d0552bbd5fafc8b41378 (patch) | |
| tree | 63c5003df335096563f059d9603b736d149c546f /src/libsyntax | |
| parent | 0efafac398ff7f28c5f0fe756c15b9008b3e0534 (diff) | |
| download | rust-8920181052c8b66bcc73d0552bbd5fafc8b41378.tar.gz rust-8920181052c8b66bcc73d0552bbd5fafc8b41378.zip | |
ack parser.parse_ty change in quote_ty! (+ test)
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 14e13feac98..c7cb41e2ece 100644 --- a/src/libsyntax/ext/quote.rs +++ b/src/libsyntax/ext/quote.rs @@ -450,8 +450,7 @@ pub fn expand_quote_ty(cx: &mut ExtCtxt, sp: Span, tts: &[ast::TokenTree]) -> Box<base::MacResult+'static> { - let expanded = expand_parse_call(cx, sp, "parse_ty", - vec![], tts); + let expanded = expand_parse_call(cx, sp, "parse_ty", vec!(), tts); base::MacExpr::new(expanded) } |
