From 21293d0533a88600e18687b3b484d07b4e38c823 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 25 Dec 2018 02:07:30 +0300 Subject: fix warning conversion --- crates/ra_lsp_server/src/main_loop/handlers.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crates/ra_lsp_server') 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 { match severity { Error => DiagnosticSeverity::Error, - Warning => DiagnosticSeverity::Warning, - Information => DiagnosticSeverity::Information, - Hint => DiagnosticSeverity::Hint, + WeakWarning => DiagnosticSeverity::Hint, } } -- cgit v1.2.3