Fixup botched rename

This commit is contained in:
Jonas Schievink 2020-10-20 18:29:47 +02:00
parent 3fa04f35d2
commit 74ac83a5ac

View file

@ -122,7 +122,7 @@ pub(crate) fn diagnostics(
.on::<hir::diagnostics::IncorrectCase, _>(|d| { .on::<hir::diagnostics::IncorrectCase, _>(|d| {
res.borrow_mut().push(warning_with_fix(d, &sema)); res.borrow_mut().push(warning_with_fix(d, &sema));
}) })
.on::<hir::diagnostics::UnconfiguredCode, _>(|d| { .on::<hir::diagnostics::InactiveCode, _>(|d| {
// Override severity and mark as unused. // Override severity and mark as unused.
res.borrow_mut().push( res.borrow_mut().push(
Diagnostic::hint(sema.diagnostics_display_range(d).range, d.message()) Diagnostic::hint(sema.diagnostics_display_range(d).range, d.message())