aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-12-24 23:07:30 +0000
committerAleksey Kladov <[email protected]>2018-12-24 23:07:30 +0000
commit21293d0533a88600e18687b3b484d07b4e38c823 (patch)
treed71b1369310fd148921d3eb057eb7147eb92c528 /crates/ra_lsp_server
parentb65ba8f1d62c2961e520885117056e405056959d (diff)
fix warning conversion
Diffstat (limited to 'crates/ra_lsp_server')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs4
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}