diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2021-11-01 16:18:36 +0100 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2021-11-15 10:14:29 +0100 |
| commit | 8c9bfaa5f3a1a0bd487d0a6908492d56923d72a8 (patch) | |
| tree | 9acca0bd1939b0868004a42dc5f98c98214be96c /compiler/rustc_feature/src | |
| parent | 89c3d84b75e7b6993c47a3252e52503e8877e6f9 (diff) | |
| download | rust-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.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 3 |
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), |
