about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/lib_features.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2020-04-23 11:15:04 -0700
committerEsteban Küber <esteban@kuber.com.ar>2021-02-10 19:10:14 -0800
commit4cb089bb542f30faa708c65347aacef42c2427cb (patch)
tree43ce41b66bc415d9672932ada7144a90e618172f /compiler/rustc_passes/src/lib_features.rs
parent178108bf81606a0e25b1066568c2b8c8e0648617 (diff)
downloadrust-4cb089bb542f30faa708c65347aacef42c2427cb.tar.gz
rust-4cb089bb542f30faa708c65347aacef42c2427cb.zip
Inherit `#[stable(..)]` annotations in enum variants and fields from its item
Diffstat (limited to 'compiler/rustc_passes/src/lib_features.rs')
-rw-r--r--compiler/rustc_passes/src/lib_features.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_passes/src/lib_features.rs b/compiler/rustc_passes/src/lib_features.rs
index 7c62a234dba..02b20e45d00 100644
--- a/compiler/rustc_passes/src/lib_features.rs
+++ b/compiler/rustc_passes/src/lib_features.rs
@@ -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();
     }
 }