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