mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-28 03:24:11 +00:00
In particular, this allows us to write more explicit matches that avoid the pitfalls of using a fully general fall-through case, yet remain fairly ergonomic. Less logic is in guard cases, more is in the actual exhaustive case analysis. No functional changes.