pub fn add_feature_diagnostics<G: EmissionGuarantee>(
    err: &mut Diag<'_, G>,
    sess: &Session,
    feature: Symbol
)
Expand description

Adds the diagnostics for a feature to an existing error.