rust/compiler/rustc_parse/src
bors dd33766e4a Auto merge of #76585 - Aaron1011:ignore-vert-plus, r=petrochenkov
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-13 05:16:36 +00:00
..
lexer Revert "Rollup merge of #76285 - matklad:censor-spacing, r=petrochenkov" 2020-09-10 02:18:46 +00:00
parser Attach tokens to ast::Stmt 2020-09-10 17:33:06 -04:00
lib.rs Auto merge of #76585 - Aaron1011:ignore-vert-plus, r=petrochenkov 2020-09-13 05:16:36 +00:00
validate_attr.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00