Improve error from invalid syntax inside proc_macro::quote!
#47315
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-macros-2.0
Area: Declarative macros 2.0 (#39412)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-diagnostics
Working group: Diagnostics
Ideally the
`$` must be followed by an ident or `$` in `quote!`
error message would not look like an ICE.@jseyfried
The text was updated successfully, but these errors were encountered: