mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +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 {
|
match severity {
|
||||||
Error => DiagnosticSeverity::Error,
|
Error => DiagnosticSeverity::Error,
|
||||||
Warning => DiagnosticSeverity::Warning,
|
WeakWarning => DiagnosticSeverity::Hint,
|
||||||
Information => DiagnosticSeverity::Information,
|
|
||||||
Hint => DiagnosticSeverity::Hint,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue