aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-12-24 23:18:10 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-12-24 23:18:10 +0000
commit64046253a3386962b49632edc6edf9f05272d404 (patch)
treed71b1369310fd148921d3eb057eb7147eb92c528
parentb65ba8f1d62c2961e520885117056e405056959d (diff)
parent21293d0533a88600e18687b3b484d07b4e38c823 (diff)
Merge #328
328: fix warning conversion r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
-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}