You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Leading pipes in patterns need to be preserved in the AST #76182
This applies to all trailing separators in theory (except that the separator is leading rather than trailing in this case), but in other cases the difference is fixed up by fuzzy comparison in tokenstream_probably_equal_for_proc_macro.
Activity
danielhenrymantilla commentedon Aug 31, 2020
Extra info (but it boils down to what @Aaron1011 said):
Using
I get the following log:
Rendered diff: https://www.textcompare.org/index.html?id=5f4d8b98086a55001745f791
petrochenkov commentedon Sep 1, 2020
This applies to all trailing separators in theory (except that the separator is leading rather than trailing in this case), but in other cases the difference is fixed up by fuzzy comparison in
tokenstream_probably_equal_for_proc_macro.Preserve leading vert when pretty-printing patterns
Ignore `|` and `+` tokens during proc-macro pretty-print check
Rollup merge of rust-lang#76585 - Aaron1011:ignore-vert-plus, r=petro…
Rollup merge of rust-lang#76585 - Aaron1011:ignore-vert-plus, r=petro…
Rollup merge of rust-lang#76585 - Aaron1011:ignore-vert-plus, r=petro…
Auto merge of rust-lang#76585 - Aaron1011:ignore-vert-plus, r=petroch…