Function rustc_session::parse::add_feature_diagnostics
source · pub fn add_feature_diagnostics<'a>(
err: &mut Diagnostic,
sess: &'a ParseSess,
feature: Symbol
)
Expand description
Adds the diagnostics for a feature to an existing error.