diff options
| author | Jules Bertholet <julesbertholet@quoi.xyz> | 2024-04-14 11:12:52 -0400 |
|---|---|---|
| committer | Jules Bertholet <julesbertholet@quoi.xyz> | 2024-04-15 23:27:21 -0400 |
| commit | e13911e6e8d0d85802789a2d75aeb0e4b49ebb33 (patch) | |
| tree | 33e7a692abe0b827611d9f052a972e2e657f69b7 /compiler/rustc_lint_defs/src | |
| parent | 1b2e471b43610e74c7cc6e7a38d48293420e157f (diff) | |
| download | rust-e13911e6e8d0d85802789a2d75aeb0e4b49ebb33.tar.gz rust-e13911e6e8d0d85802789a2d75aeb0e4b49ebb33.zip | |
Rename feature gate
Diffstat (limited to 'compiler/rustc_lint_defs/src')
| -rw-r--r-- | compiler/rustc_lint_defs/src/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index 3d80eb1cec9..e74cc388cab 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -1656,7 +1656,7 @@ declare_lint! { pub DEREFERENCING_MUT_BINDING, Allow, "detects `mut x` bindings that change the type of `x`", - @feature_gate = sym::mut_dont_reset_binding_mode_2024; + @feature_gate = sym::mut_preserve_binding_mode_2024; // FIXME uncomment below upon stabilization /*@future_incompatible = FutureIncompatibleInfo { reason: FutureIncompatibilityReason::EditionSemanticsChange(Edition::Edition2024), |
