Wishlist for libproc_macro #47786
Labels
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
metabug
Issues about issues themselves ("bugs about bugs")
Uh oh!
There was an error while loading. Please reload this page.
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: