mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
5f74403c8e
pattern analysis: fix union handling Little known fact: rust supports union patterns. Exhaustiveness handles them soundly but reports nonsensical missing patterns. This PR fixes the reported patterns and documents what we're doing. r? `@compiler-errors`