diff options
| author | bors <bors@rust-lang.org> | 2020-09-13 05:16:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-13 05:16:36 +0000 |
| commit | dd33766e4a9a918058c3447d42491e874e21f7cc (patch) | |
| tree | df723bb28d00423ba8732523ffb549277f235f83 /compiler/rustc_plugin_impl/src | |
| parent | 04b72b469781b811655b0d5eb7d4c3c53fe1241d (diff) | |
| parent | 283d4c4d148c8c53a8b197c4ff0a9f79a1690eb2 (diff) | |
| download | rust-dd33766e4a9a918058c3447d42491e874e21f7cc.tar.gz rust-dd33766e4a9a918058c3447d42491e874e21f7cc.zip | |
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.
Diffstat (limited to 'compiler/rustc_plugin_impl/src')
0 files changed, 0 insertions, 0 deletions
