]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_feature/active.rs
Add `format_args_capture` feature
[rust.git] / src / librustc_feature / active.rs
index 7aadf58243f31574d9f4ae0c78a6e90590df79cb..11c1908b57cac4f76fa5188b79e3d9902b945328 100644 (file)
@@ -401,9 +401,6 @@ pub fn set(&self, features: &mut Features, span: Span) {
     /// Allows dereferencing raw pointers during const eval.
     (active, const_raw_ptr_deref, "1.27.0", Some(51911), None),
 
-    /// Allows comparing raw pointers during const eval.
-    (active, const_compare_raw_pointers, "1.27.0", Some(53020), None),
-
     /// Allows `#[doc(alias = "...")]`.
     (active, doc_alias, "1.27.0", Some(50146), None),
 
@@ -580,6 +577,9 @@ pub fn set(&self, features: &mut Features, span: Span) {
     /// Be more precise when looking for live drops in a const context.
     (active, const_precise_live_drops, "1.46.0", Some(73255), None),
 
+    /// Allows capturing variables in scope using format_args!
+    (active, format_args_capture, "1.46.0", Some(67984), None),
+
     // -------------------------------------------------------------------------
     // feature-group-end: actual feature gates
     // -------------------------------------------------------------------------