about summary refs log tree commit diff
path: root/compiler/rustc_plugin_impl/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-13 05:16:36 +0000
committerbors <bors@rust-lang.org>2020-09-13 05:16:36 +0000
commitdd33766e4a9a918058c3447d42491e874e21f7cc (patch)
treedf723bb28d00423ba8732523ffb549277f235f83 /compiler/rustc_plugin_impl/src
parent04b72b469781b811655b0d5eb7d4c3c53fe1241d (diff)
parent283d4c4d148c8c53a8b197c4ff0a9f79a1690eb2 (diff)
downloadrust-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