rust/compiler/rustc_parse
Aaron Hill 283d4c4d14
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.
2020-09-10 16:20:05 -04:00
..
src Ignore | and + tokens during proc-macro pretty-print check 2020-09-10 16:20:05 -04:00
Cargo.toml mv compiler to compiler/ 2020-08-30 18:45:07 +03:00