We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fa04f3 commit 74ac83aCopy full SHA for 74ac83a
crates/ide/src/diagnostics.rs
@@ -122,7 +122,7 @@ pub(crate) fn diagnostics(
122
.on::<hir::diagnostics::IncorrectCase, _>(|d| {
123
res.borrow_mut().push(warning_with_fix(d, &sema));
124
})
125
- .on::<hir::diagnostics::UnconfiguredCode, _>(|d| {
+ .on::<hir::diagnostics::InactiveCode, _>(|d| {
126
// Override severity and mark as unused.
127
res.borrow_mut().push(
128
Diagnostic::hint(sema.diagnostics_display_range(d).range, d.message())
0 commit comments