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