1
Fork 0

Rename feature gate

This commit is contained in:
Jules Bertholet 2024-04-14 11:12:52 -04:00
parent 1b2e471b43
commit e13911e6e8
No known key found for this signature in database
GPG key ID: 32034DAFC38C1BFC
11 changed files with 16 additions and 16 deletions

View file

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