Tracking issue for the quote!
macro in proc_macro
· Issue #54722 · rust-lang/rust (original) (raw)
I'm splitting this off #38356 to track the quote!
macro specifically contained in proc_macro
. This macro has different syntax than the quote crate on crates.io but I believe similar functionality. At this time it's not clear (to me at least) what the status of this macro is in terms of how much we actually want to stabilize it or what would block its stabilization. Others are welcome to fill this in though!
Steps / History
- RFC: https://rust-lang.github.io/rfcs/1566-proc-macros.html
- Implementation: proc_macro: implement TokenTree, TokenKind, hygienic quote!, and other API #40939
- Stabilization:
Unresolved questions
- Should this use
$
to match other macros or#
to drop in withquote::quote
? Tracking issue for the quote! macro in proc_macro #54722 (comment) - Which spans should be used? Tracking issue for the quote! macro in proc_macro #54722 (comment)
From #54722 (comment):
- Do we want our own version of
quote::ToTokens
rather than relying onFrom
? Changed in Tracking Issue for proc_macro::ToTokens #130977 - Should we add repetition before stabilization?