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