mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Merge #328
328: fix warning conversion r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
64046253a3
1 changed files with 1 additions and 3 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue