]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_feature/src/active.rs
Test drop_tracking_mir before querying generator.
[rust.git] / compiler / rustc_feature / src / active.rs
index 531ddcc1fa65b495d8c5cdf2141883b76dbe3a3c..196c31302a0d2a91d9c59aa153cb7e3d78ea2b5f 100644 (file)
@@ -339,7 +339,9 @@ pub fn set(&self, features: &mut Features, span: Span) {
     (active, collapse_debuginfo, "1.65.0", Some(100758), None),
     /// Allows `async {}` expressions in const contexts.
     (active, const_async_blocks, "1.53.0", Some(85368), None),
-    // Allows limiting the evaluation steps of const expressions
+    /// Allows `const || {}` closures in const contexts.
+    (incomplete, const_closures, "CURRENT_RUSTC_VERSION", Some(106003), None),
+    /// Allows limiting the evaluation steps of const expressions
     (active, const_eval_limit, "1.43.0", Some(67217), None),
     /// Allows the definition of `const extern fn` and `const unsafe extern fn`.
     (active, const_extern_fn, "1.40.0", Some(64926), None),