mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
dd33766e4a
Ignore `|` and `+` tokens during proc-macro pretty-print check Fixes #76182 This is an alternative to PR #76188 These tokens are not preserved in the AST in certain cases (e.g. a leading `|` in a pattern or a trailing `+` in a trait bound). This PR ignores them entirely during the pretty-print/reparse check to avoid spuriously using the re-parsed tokenstream. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |