diff options
| author | Gary Guo <gary@garyguo.net> | 2021-11-22 16:25:28 +0000 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2021-11-22 22:17:03 +0000 |
| commit | 6d61d87b227f2314e06f8da7c33bab9633119006 (patch) | |
| tree | 9221eb0e15e78fcdb3e42edaf5a0a16903644407 /compiler/rustc_feature/src | |
| parent | cebd2dda1d9071f2209079370c412f4ef9ef2b82 (diff) | |
| download | rust-6d61d87b227f2314e06f8da7c33bab9633119006.tar.gz rust-6d61d87b227f2314e06f8da7c33bab9633119006.zip | |
Split inline const to two feature gates
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index 608581306be..34a8de67ca0 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -410,6 +410,8 @@ declare_features! ( (incomplete, inherent_associated_types, "1.52.0", Some(8995), None), /// Allow anonymous constants from an inline `const` block (incomplete, inline_const, "1.49.0", Some(76001), None), + /// Allow anonymous constants from an inline `const` block in pattern position + (incomplete, inline_const_pat, "1.58.0", Some(76001), None), /// Allows using `pointer` and `reference` in intra-doc links (active, intra_doc_pointers, "1.51.0", Some(80896), None), /// Allows `#[instruction_set(_)]` attribute |
