Pass doc comments to proc macro not as a Literal #48189
Labels
A-macros-2.0
Area: Declarative macros 2.0 (#39412)
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
Doc comments should be parsed as a sequence of tokens
#
[
doc
=
...]
rather than as aTokenNode::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: