Stabilize format_args_capture

Works as expected, and there are widespread reports of success with it,
as well as interest in it.
This commit is contained in:
Josh Triplett 2021-11-01 16:18:36 +01:00
parent 89c3d84b75
commit 8c9bfaa5f3
18 changed files with 20 additions and 118 deletions

View file

@ -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

View file

@ -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),