pub fn diagnostic(issue: &CheckIssue) -> Diagnostic
Convert a CheckIssue to a Diagnostic.
CheckIssue
Diagnostic