Function rustc_errors::annotate_snippet_emitter_writer::annotation_type_for_level [−][src]
fn annotation_type_for_level(level: Level) -> AnnotationType
Maps Diagnostic::Level to snippet::AnnotationType