fn annotation_type_for_level(level: Level) -> AnnotationType
Maps Diagnostic::Level to snippet::AnnotationType
Diagnostic::Level
snippet::AnnotationType