mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
4f8153e4a5
feat: Implement `feature(exhaustive_patterns)` from unstable Rust Closes #12753 Recognize Rust's unstable `#![feature(exhaustive_patterns)]` (RFC 1872). Allow omitting visibly uninhabited variants from `match` expressions when the feature is on. This adjusts match checking to the current implementation of the postponed RFC 1872 in rustc. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |