We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unused_mut
1 parent af90ec8 commit 2cce9dcCopy full SHA for 2cce9dc
crates/ide-diagnostics/src/handlers/mutability_errors.rs
@@ -70,6 +70,7 @@ pub(crate) fn unused_mut(ctx: &DiagnosticsContext<'_>, d: &hir::UnusedMut) -> Di
70
ctx.sema.diagnostics_display_range(ast).range,
71
)
72
.severity(Severity::WeakWarning)
73
+ .experimental() // Not supporting `#[allow(unused_mut)]` leads to false positive.
74
.with_fixes(fixes)
75
}
76
0 commit comments