fn get_src(diag: &Diagnostic) -> Option<&str>Expand description
Extracts the “source” from Diagnostic::user_data or Diagnostic::source.
fn get_src(diag: &Diagnostic) -> Option<&str>Extracts the “source” from Diagnostic::user_data or Diagnostic::source.