diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-24 23:18:10 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-24 23:18:10 +0000 |
commit | 64046253a3386962b49632edc6edf9f05272d404 (patch) | |
tree | d71b1369310fd148921d3eb057eb7147eb92c528 /crates/ra_lsp_server | |
parent | b65ba8f1d62c2961e520885117056e405056959d (diff) | |
parent | 21293d0533a88600e18687b3b484d07b4e38c823 (diff) |
Merge #328
328: fix warning conversion r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
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 | } |