diff options
| author | Nadrieril <nadrieril+git@gmail.com> | 2024-01-08 21:48:22 +0100 |
|---|---|---|
| committer | Nadrieril <nadrieril+git@gmail.com> | 2024-01-24 23:52:03 +0100 |
| commit | 886108b9fe5b1e681f8bd8e34fdfab23cc74ef53 (patch) | |
| tree | 462a17c129d6e85083a60418b51488c517eee781 /compiler/rustc_feature/src | |
| parent | cd6d8f2a04528f827ad3d399581c0f3502b15a72 (diff) | |
| download | rust-886108b9fe5b1e681f8bd8e34fdfab23cc74ef53.tar.gz rust-886108b9fe5b1e681f8bd8e34fdfab23cc74ef53.zip | |
Add feature gate
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index 6eed2178ead..e66a66e23dc 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -516,6 +516,9 @@ declare_features! ( (unstable, macro_metavar_expr, "1.61.0", Some(83527)), /// Allows `#[marker]` on certain traits allowing overlapping implementations. (unstable, marker_trait_attr, "1.30.0", Some(29864)), + /// Allows exhaustive pattern matching on types that contain uninhabited types in cases that are + /// unambiguously sound. + (incomplete, min_exhaustive_patterns, "CURRENT_RUSTC_VERSION", Some(119612)), /// A minimal, sound subset of specialization intended to be used by the /// standard library until the soundness issues with specialization /// are fixed. |
