diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-10-10 18:22:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-10 18:22:19 +0200 |
| commit | cfa5391f0bb99571295cd378b7305410dab6f215 (patch) | |
| tree | f5f037663b5795a560cebcc0ada981de5f42053a /compiler/rustc_feature/src | |
| parent | 4473b945bf1f4b189fc452591444b3e0e99f84ff (diff) | |
| parent | 14338786fd829992511ada6704ed5e801dd8e86b (diff) | |
| download | rust-cfa5391f0bb99571295cd378b7305410dab6f215.tar.gz rust-cfa5391f0bb99571295cd378b7305410dab6f215.zip | |
Rollup merge of #89428 - DevinR528:reachable-featuregate, r=Nadrieril,camelid
Feature gate the non_exhaustive_omitted_patterns lint Fixes https://github.com/rust-lang/rust/issues/89374 Add the machinery to gate the new `non_exhaustive_omitted_patterns` lint. relates to https://github.com/rust-lang/rust/pull/89105 and https://github.com/rust-lang/rust/pull/89423
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index ec2c703ad49..a2fadb13a57 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -678,6 +678,9 @@ declare_features! ( /// Allows `#[doc(cfg_hide(...))]`. (active, doc_cfg_hide, "1.57.0", Some(43781), None), + /// Allows using the `non_exhaustive_omitted_patterns` lint. + (active, non_exhaustive_omitted_patterns_lint, "1.57.0", Some(89554), None), + // ------------------------------------------------------------------------- // feature-group-end: actual feature gates // ------------------------------------------------------------------------- |
