pub fn add_feature_diagnostics( err: &mut Diag<'_>, sess: &Session, feature: Symbol, )
Adds the diagnostics for a feature to an existing error. Must be a language feature!