mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
fix warning conversion
This commit is contained in:
parent
b65ba8f1d6
commit
21293d0533
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…
Add table
Add a link
Reference in a new issue