Fixup botched rename
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user