1
Fork 0

Temporarily remove future compatibility label from migration lint

The lint is unstable, and the lint group `rust_2024_compatibility` must keep working on stable
This commit is contained in:
Jules Bertholet 2024-04-06 00:29:35 -04:00
parent 83f330fbd4
commit d5d700d5c6
No known key found for this signature in database
GPG key ID: 32034DAFC38C1BFC
3 changed files with 5 additions and 10 deletions

View file

@ -1657,10 +1657,11 @@ declare_lint! {
Allow,
"detects `mut x` bindings that change the type of `x`",
@feature_gate = sym::mut_dont_reset_binding_mode_2024;
@future_incompatible = FutureIncompatibleInfo {
// FIXME uncomment below upon stabilization
/*@future_incompatible = FutureIncompatibleInfo {
reason: FutureIncompatibilityReason::EditionSemanticsChange(Edition::Edition2024),
reference: "123076",
};
};*/
}
declare_lint! {