Wishlist for libproc_macro #47786
Labels
A-macros-2.0
Area: Declarative macros 2.0 (#39412)
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
metabug
Issues about issues themselves ("bugs about bugs")
I would like to record some API changes I would like to see in libproc_macro before we stabilize any of the new surface area. It would be best to give this a few months to collect more ideas, then batch these all up into one change that we can roll out across libproc_macro, proc-macro2, quote, and syn in a single round of breaking changes.
kind: TokenKind
ornode: TokenNode
, notkind: TokenNode
.#
[
doc
=
...]
rather than as a TokenNode::Literal. I believe this approach has worked well for macros-by-example. Nobody considers doc comments to be a type of "literal" and it can be surprising when they pop up this way.The text was updated successfully, but these errors were encountered: