From 4d472ff1be571cc20d89ddc97d22c9903b6c3aa8 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Sun, 27 Jul 2014 15:11:42 -0700 Subject: syntax: allow quasiquoter to inline `Vec`s --- src/libsyntax/ext/quote.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libsyntax/ext') diff --git a/src/libsyntax/ext/quote.rs b/src/libsyntax/ext/quote.rs index a7ede6f742d..5e15d6179bb 100644 --- a/src/libsyntax/ext/quote.rs +++ b/src/libsyntax/ext/quote.rs @@ -144,6 +144,7 @@ pub mod rt { impl_to_source!(Generics, generics_to_string) impl_to_source!(Gc, item_to_string) impl_to_source!(Gc, method_to_string) + impl_to_source!(Gc, stmt_to_string) impl_to_source!(Gc, expr_to_string) impl_to_source!(Gc, pat_to_string) impl_to_source_slice!(ast::Ty, ", ") @@ -244,6 +245,7 @@ pub mod rt { impl_to_tokens!(ast::Ty) impl_to_tokens_lifetime!(&'a [ast::Ty]) impl_to_tokens!(Generics) + impl_to_tokens!(Gc) impl_to_tokens!(Gc) impl_to_tokens!(ast::Block) impl_to_tokens!(ast::Arg) -- cgit 1.4.1-3-g733a5