We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ec07ed commit a17f556Copy full SHA for a17f556
src/libsyntax/ext/quote.rs
@@ -171,6 +171,7 @@ pub mod rt {
171
}
172
173
174
+ impl_to_source! { ast::Path, path_to_string }
175
impl_to_source! { ast::Ty, ty_to_string }
176
impl_to_source! { ast::Block, block_to_string }
177
impl_to_source! { ast::Arg, arg_to_string }
@@ -310,6 +311,7 @@ pub mod rt {
310
311
312
313
impl_to_tokens! { ast::Ident }
314
+ impl_to_tokens! { ast::Path }
315
impl_to_tokens! { P<ast::Item> }
316
impl_to_tokens! { P<ast::ImplItem> }
317
impl_to_tokens! { P<ast::TraitItem> }
0 commit comments