rust/compiler
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
..
2020-09-09 17:32:23 +10:00
2020-09-04 18:28:20 +02:00
2020-09-04 17:47:51 +02:00
2020-09-09 23:05:43 +03:00
2020-09-04 17:47:51 +02:00
2020-09-04 17:47:51 +02:00
2020-09-09 16:32:55 +02:00
2020-09-04 19:17:57 -04:00
2020-09-04 17:47:51 +02:00