We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a807aa1 commit e4f8cecCopy full SHA for e4f8cec
src/libsyntax/ext/quote.rs
@@ -143,6 +143,7 @@ pub mod rt {
143
impl_to_source!(ast::Arg, arg_to_string)
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::Expr>, expr_to_string)
148
impl_to_source!(Gc<ast::Pat>, pat_to_string)
149
impl_to_source_slice!(ast::Ty, ", ")
@@ -238,6 +239,7 @@ pub mod rt {
238
239
impl_to_tokens!(ast::Ident)
240
impl_to_tokens!(Gc<ast::Item>)
241
impl_to_tokens!(Gc<ast::Pat>)
242
+ impl_to_tokens!(Gc<ast::Method>)
243
impl_to_tokens_lifetime!(&'a [Gc<ast::Item>])
244
impl_to_tokens!(ast::Ty)
245
impl_to_tokens_lifetime!(&'a [ast::Ty])
0 commit comments