remove unused Level::PhaseFatal
This commit is contained in:
parent
c43d03a19f
commit
ed7317cebe
3 changed files with 3 additions and 7 deletions
|
@ -148,7 +148,7 @@ impl<'a> DiagnosticConverter<'a> {
|
|||
/// Maps `Diagnostic::Level` to `snippet::AnnotationType`
|
||||
fn annotation_type_for_level(level: Level) -> AnnotationType {
|
||||
match level {
|
||||
Level::Bug | Level::Fatal | Level::PhaseFatal | Level::Error => AnnotationType::Error,
|
||||
Level::Bug | Level::Fatal | Level::Error => AnnotationType::Error,
|
||||
Level::Warning => AnnotationType::Warning,
|
||||
Level::Note => AnnotationType::Note,
|
||||
Level::Help => AnnotationType::Help,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue