328: fix warning conversion r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2018-12-24 23:18:10 +00:00
commit 64046253a3

View file

@ -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,
}
}