pub(crate) fn default_track_diagnostic(
    diag: Diagnostic,
    f: &mut dyn FnMut(Diagnostic)
)