about summary refs log tree commit diff
path: root/compiler/rustc_feature/src
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2021-11-01 16:18:36 +0100
committerJosh Triplett <josh@joshtriplett.org>2021-11-15 10:14:29 +0100
commit8c9bfaa5f3a1a0bd487d0a6908492d56923d72a8 (patch)
tree9acca0bd1939b0868004a42dc5f98c98214be96c /compiler/rustc_feature/src
parent89c3d84b75e7b6993c47a3252e52503e8877e6f9 (diff)
downloadrust-8c9bfaa5f3a1a0bd487d0a6908492d56923d72a8.tar.gz
rust-8c9bfaa5f3a1a0bd487d0a6908492d56923d72a8.zip
Stabilize format_args_capture
Works as expected, and there are widespread reports of success with it,
as well as interest in it.
Diffstat (limited to 'compiler/rustc_feature/src')
-rw-r--r--compiler/rustc_feature/src/accepted.rs2
-rw-r--r--compiler/rustc_feature/src/active.rs3
2 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_feature/src/accepted.rs b/compiler/rustc_feature/src/accepted.rs
index 3bd1272c7cb..3cb543fe3ab 100644
--- a/compiler/rustc_feature/src/accepted.rs
+++ b/compiler/rustc_feature/src/accepted.rs
@@ -301,6 +301,8 @@ declare_features! (
     (accepted, relaxed_struct_unsize, "1.58.0", Some(81793), None),
     /// Allows dereferencing raw pointers during const eval.
     (accepted, const_raw_ptr_deref, "1.58.0", Some(51911), None),
+    /// Allows capturing variables in scope using format_args!
+    (accepted, format_args_capture, "1.58.0", Some(67984), None),
 
     // -------------------------------------------------------------------------
     // feature-group-end: accepted features
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs
index d8b4539d831..61dd505e1e9 100644
--- a/compiler/rustc_feature/src/active.rs
+++ b/compiler/rustc_feature/src/active.rs
@@ -539,9 +539,6 @@ declare_features! (
     /// 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),
-
     /// Allows `if let` guard in match arms.
     (active, if_let_guard, "1.47.0", Some(51114), None),