rust-analyzer/crates/hir-expand/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
..
ast_id_map.rs Simplify 2022-08-15 16:40:10 +02:00
builtin_attr_macro.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
builtin_derive_macro.rs minor: Simplify 2022-05-20 16:52:10 +02:00
builtin_fn_macro.rs Improve insert whitespace in mbe 2022-08-10 16:28:56 +08:00
db.rs Simplify 2022-08-15 16:40:10 +02:00
eager.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
fixup.rs Fixes tests 2022-08-10 16:29:23 +08:00
hygiene.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
lib.rs Remove hir::Expr::MacroStmts 2022-08-31 16:58:11 +02:00
mod_path.rs Auto merge of #12982 - jridgewell:into_future, r=Veykril 2022-08-18 07:37:47 +00:00
name.rs Record enabled unstable features into DefMap 2022-09-02 16:31:15 +05:00
proc_macro.rs fix: Report proc macro errors in expressions correctly as well 2022-06-28 10:43:22 +02:00
quote.rs minor: align with rustc on escaping characters in macro expansion 2022-08-05 22:01:09 +09:00