1
Fork 0

Inherit #[stable(..)] annotations in enum variants and fields from its item

This commit is contained in:
Esteban Küber 2020-04-23 11:15:04 -07:00
parent 178108bf81
commit 4cb089bb54
13 changed files with 213 additions and 163 deletions

View file

@ -109,7 +109,7 @@ impl LibFeatureCollector<'tcx> {
}
fn span_feature_error(&self, span: Span, msg: &str) {
struct_span_err!(self.tcx.sess, span, E0711, "{}", &msg,).emit();
struct_span_err!(self.tcx.sess, span, E0711, "{}", &msg).emit();
}
}