Skip to content

Commit 17517fd

Browse files
committed
add move_expr feature flag
1 parent 1948ee1 commit 17517fd

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
@@ -602,6 +602,8 @@ declare_features! (
602602
(unstable, must_not_suspend, "1.57.0", Some(83310)),
603603
/// Allows `mut ref` and `mut ref mut` identifier patterns.
604604
(incomplete, mut_ref, "1.79.0", Some(123076)),
605+
/// Allows `move(expr)` in closures.
606+
(incomplete, move_expr, "CURRENT_RUSTC_VERSION", None),
605607
/// Allows using `#[naked]` on `extern "Rust"` functions.
606608
(unstable, naked_functions_rustic_abi, "1.88.0", Some(138997)),
607609
/// 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
@@ -1310,6 +1310,7 @@ symbols! {
13101310
more_qualified_paths,
13111311
more_struct_aliases,
13121312
movbe_target_feature,
1313+
move_expr,
13131314
move_ref_pattern,
13141315
move_size_limit,
13151316
movrs_target_feature,

0 commit comments

Comments
 (0)