X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;ds=sidebyside;f=compiler%2Frustc_feature%2Fsrc%2Factive.rs;h=196c31302a0d2a91d9c59aa153cb7e3d78ea2b5f;hb=1d3f5b49d6bdfb2a051ddbfb7ad4b4ad603e9908;hp=531ddcc1fa65b495d8c5cdf2141883b76dbe3a3c;hpb=fa8f77a1deb0952fa81fd4f2f0809ceec8d7f7e8;p=rust.git diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index 531ddcc1fa6..196c31302a0 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -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),