aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ide/src/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/diagnostics.rs b/crates/ide/src/diagnostics.rs
index 394365bc8..90574cb35 100644
--- a/crates/ide/src/diagnostics.rs
+++ b/crates/ide/src/diagnostics.rs
@@ -122,7 +122,7 @@ pub(crate) fn diagnostics(
122 .on::<hir::diagnostics::IncorrectCase, _>(|d| { 122 .on::<hir::diagnostics::IncorrectCase, _>(|d| {
123 res.borrow_mut().push(warning_with_fix(d, &sema)); 123 res.borrow_mut().push(warning_with_fix(d, &sema));
124 }) 124 })
125 .on::<hir::diagnostics::UnconfiguredCode, _>(|d| { 125 .on::<hir::diagnostics::InactiveCode, _>(|d| {
126 // Override severity and mark as unused. 126 // Override severity and mark as unused.
127 res.borrow_mut().push( 127 res.borrow_mut().push(
128 Diagnostic::hint(sema.diagnostics_display_range(d).range, d.message()) 128 Diagnostic::hint(sema.diagnostics_display_range(d).range, d.message())