diff options
Diffstat (limited to 'compiler/rustc_feature')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index bf99d298817..9faed49c88b 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -677,6 +677,12 @@ declare_features! ( /// Allows `#[derive(Default)]` and `#[default]` on enums. (active, derive_default_enum, "1.56.0", Some(86985), None), + /// Allows `for _ in _` loops in const contexts. + (active, const_for, "1.55.0", None, None), + + /// Allows the `?` operator in const contexts. + (active, const_try, "1.55.0", None, None), + // ------------------------------------------------------------------------- // feature-group-end: actual feature gates // ------------------------------------------------------------------------- |
