Skip to content

Commit 3d1b572

Browse files
committed
add move_expr feature flag
1 parent d1c7945 commit 3d1b572

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

compiler/rustc_feature/src/unstable.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,8 @@ declare_features! (
591591
(unstable, must_not_suspend, "1.57.0", Some(83310)),
592592
/// Allows `mut ref` and `mut ref mut` identifier patterns.
593593
(incomplete, mut_ref, "1.79.0", Some(123076)),
594+
/// Allows `move(expr)` in closures.
595+
(incomplete, move_expr, "CURRENT_RUSTC_VERSION", None),
594596
/// Allows using `#[naked]` on `extern "Rust"` functions.
595597
(unstable, naked_functions_rustic_abi, "1.88.0", Some(138997)),
596598
/// Allows using `#[target_feature(enable = "...")]` on `#[naked]` on functions.

compiler/rustc_span/src/symbol.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,6 +1301,7 @@ symbols! {
13011301
more_qualified_paths,
13021302
more_struct_aliases,
13031303
movbe_target_feature,
1304+
move_expr,
13041305
move_ref_pattern,
13051306
move_size_limit,
13061307
movrs_target_feature,

0 commit comments

Comments
 (0)