Function rustc_session::parse::add_feature_diagnostics

source ยท
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.