mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 11:47:13 +00:00

This match is complex enough that it's a good idea to enumerate every variant. This also means `can_be_top_or_sub` can just be `can_be_subdiag`.