fn convert_diagnostic_kind(diagnostic_kind: &DiagnosticKind) -> AnnotationType {
    match diagnostic_kind {
        DiagnosticKind::Error => AnnotationType::Error,
        DiagnosticKind::Warning => AnnotationType::Warning,
        DiagnosticKind::Note => AnnotationType::Note,
        DiagnosticKind::Help => AnnotationType::Help,
    }
}
/// Converts a slide DiagnosticKind to an AnnotationType.
Converts a slide DiagnosticKind to an AnnotationType.
Converts a slide DiagnosticKind to an AnnotationType .
fn convert_diagnostic_kind(diagnostic_kind: &DiagnosticKind) -> AnnotationType {
    match diagnostic_kind {
        DiagnosticKind::Error => AnnotationType::Error,
        DiagnosticKind::Warning => AnnotationType::Warning,
        DiagnosticKind::Note => AnnotationType::Note,
        DiagnosticKind::Help => AnnotationType::Help,
    }
}
fn convert_diagnostic_kind ( diagnostic_kind : & DiagnosticKind ) -> AnnotationType { match diagnostic_kind { DiagnosticKind :: Error => AnnotationType :: Error , DiagnosticKind :: Warning => AnnotationType :: Warning , DiagnosticKind :: Note => AnnotationType :: Note , DiagnosticKind :: Help => AnnotationType :: Help , } }
Converts a slide DiagnosticKind to an AnnotationType.
Converts a slide DiagnosticKind to an AnnotationType .
diagnostic_kind
&DiagnosticKind
diagnostic_kind
&DiagnosticKind