mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Fixup botched rename
This commit is contained in:
parent
3fa04f35d2
commit
74ac83a5ac
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue