We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Vec<Stmt>
1 parent 3b7c25c commit 4d472ffCopy full SHA for 4d472ff
src/libsyntax/ext/quote.rs
@@ -144,6 +144,7 @@ pub mod rt {
144
impl_to_source!(Generics, generics_to_string)
145
impl_to_source!(Gc<ast::Item>, item_to_string)
146
impl_to_source!(Gc<ast::Method>, method_to_string)
147
+ impl_to_source!(Gc<ast::Stmt>, stmt_to_string)
148
impl_to_source!(Gc<ast::Expr>, expr_to_string)
149
impl_to_source!(Gc<ast::Pat>, pat_to_string)
150
impl_to_source_slice!(ast::Ty, ", ")
@@ -244,6 +245,7 @@ pub mod rt {
244
245
impl_to_tokens!(ast::Ty)
246
impl_to_tokens_lifetime!(&'a [ast::Ty])
247
impl_to_tokens!(Generics)
248
+ impl_to_tokens!(Gc<ast::Stmt>)
249
impl_to_tokens!(Gc<ast::Expr>)
250
impl_to_tokens!(ast::Block)
251
impl_to_tokens!(ast::Arg)
0 commit comments