Skip to content

Commit 74ac83a

Browse files
author
Jonas Schievink
committed
Fixup botched rename
1 parent 3fa04f3 commit 74ac83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide/src/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ pub(crate) fn diagnostics(
122122
.on::<hir::diagnostics::IncorrectCase, _>(|d| {
123123
res.borrow_mut().push(warning_with_fix(d, &sema));
124124
})
125-
.on::<hir::diagnostics::UnconfiguredCode, _>(|d| {
125+
.on::<hir::diagnostics::InactiveCode, _>(|d| {
126126
// Override severity and mark as unused.
127127
res.borrow_mut().push(
128128
Diagnostic::hint(sema.diagnostics_display_range(d).range, d.message())

0 commit comments

Comments
 (0)