diff options
author | Jonas Schievink <[email protected]> | 2020-10-20 17:29:47 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-10-20 17:29:47 +0100 |
commit | 74ac83a5acc9f53db69577fc32a4a6e3985d2ef9 (patch) | |
tree | a0c706d646ad5e445e6ad42f6dd8c21d29af44ac | |
parent | 3fa04f35d279253865d060b6d4ecbd849fb22139 (diff) |
Fixup botched rename
-rw-r--r-- | crates/ide/src/diagnostics.rs | 2 |
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()) |