diff options
author | Laurențiu Nicola <[email protected]> | 2021-03-02 12:27:29 +0000 |
---|---|---|
committer | Laurențiu Nicola <[email protected]> | 2021-03-02 12:27:29 +0000 |
commit | b20708f6ee652310083957c519e35a4a4e73496d (patch) | |
tree | 25728ff1181494b59f71977e443f708701ae5ff7 /crates/rust-analyzer/src/diagnostics | |
parent | 63e8bdb8a26476e8fa668dfdd16966f6ebc81471 (diff) |
Bump cargo_metadata
Diffstat (limited to 'crates/rust-analyzer/src/diagnostics')
-rw-r--r-- | crates/rust-analyzer/src/diagnostics/to_proto.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/diagnostics/to_proto.rs b/crates/rust-analyzer/src/diagnostics/to_proto.rs index 0ed87fe3e..0ad832c0e 100644 --- a/crates/rust-analyzer/src/diagnostics/to_proto.rs +++ b/crates/rust-analyzer/src/diagnostics/to_proto.rs | |||
@@ -29,7 +29,7 @@ fn diagnostic_severity( | |||
29 | }, | 29 | }, |
30 | DiagnosticLevel::Note => lsp_types::DiagnosticSeverity::Information, | 30 | DiagnosticLevel::Note => lsp_types::DiagnosticSeverity::Information, |
31 | DiagnosticLevel::Help => lsp_types::DiagnosticSeverity::Hint, | 31 | DiagnosticLevel::Help => lsp_types::DiagnosticSeverity::Hint, |
32 | DiagnosticLevel::Unknown => return None, | 32 | _ => return None, |
33 | }; | 33 | }; |
34 | Some(res) | 34 | Some(res) |
35 | } | 35 | } |