Open
Description
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
, hygienicquote!
, and other API #40939 - Stabilization:
Unresolved questions
- Should this use
$
to match other macros or#
to drop in withquote::quote
? Tracking issue for thequote!
macro inproc_macro
#54722 (comment) - Which spans should be used? Tracking issue for the
quote!
macro inproc_macro
#54722 (comment)
From #54722 (comment):
- Do we want our own version of
quote::ToTokens
rather than relying onFrom
? Changed in Tracking Issue forproc_macro::ToTokens
#130977 - Should we add repetition before stabilization?
Metadata
Metadata
Assignees
Labels
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCLibs issues that are tracked on the team's project board.Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.Relevant to the language team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.