mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
cfafa9380b
Pasted metavariables are wrapped in invisible delimiters, which pretty-print as empty strings, and changing that can break some proc macros. But error messages saying "expected identifer, found ``" are bad. So this commit adds support for metavariables in `TokenDescription` so they print as "metavariable" in error messages, instead of "``". It's not used meaningfully yet, but will be needed to get rid of interpolated tokens. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |