rust-analyzer/crates/ide-diagnostics/src
bors 4f8153e4a5 Auto merge of #13167 - iDawer:exhaustive_patterns, r=Veykril
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.
2022-09-02 12:32:36 +00:00
..
handlers Auto merge of #13167 - iDawer:exhaustive_patterns, r=Veykril 2022-09-02 12:32:36 +00:00
tests Move cfg attrs up to the mod definitions to disable sourcegen 2022-07-24 10:38:34 +02:00
lib.rs Import serde derives on converting json to struct 2022-08-06 20:12:21 +04:30
tests.rs Import serde derives on converting json to struct 2022-08-06 20:12:21 +04:30