diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs index 658d169cda..0e9a66a8a9 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 { match severity { Error => DiagnosticSeverity::Error, - Warning => DiagnosticSeverity::Warning, - Information => DiagnosticSeverity::Information, - Hint => DiagnosticSeverity::Hint, + WeakWarning => DiagnosticSeverity::Hint, } }