diff options
Diffstat (limited to 'crates/ra_lsp_server')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop/handlers.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 658d169cd..0e9a66a8a 100644 --- a/crates/ra_lsp_server/src/main_loop/handlers.rs +++ b/crates/ra_lsp_server/src/main_loop/handlers.rs | |||
@@ -690,8 +690,6 @@ fn to_diagnostic_severity(severity: Severity) -> DiagnosticSeverity { | |||
690 | 690 | ||
691 | match severity { | 691 | match severity { |
692 | Error => DiagnosticSeverity::Error, | 692 | Error => DiagnosticSeverity::Error, |
693 | Warning => DiagnosticSeverity::Warning, | 693 | WeakWarning => DiagnosticSeverity::Hint, |
694 | Information => DiagnosticSeverity::Information, | ||
695 | Hint => DiagnosticSeverity::Hint, | ||
696 | } | 694 | } |
697 | } | 695 | } |