]> 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 e2d497a3adab374a18941c0069884f024fcbd873..11c1908b57cac4f76fa5188b79e3d9902b945328 100644 (file)
@@ -577,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
     // -------------------------------------------------------------------------