]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/config.rs
Auto merge of #34216 - jseyfried:nested_cfg_attr, r=nrc
[rust.git] / src / libsyntax / config.rs
index 021f417279ef492ab063040af6e1180ac344b34c..efd92ab3240267a33d3dcf00b0cc1f73c94a6c55 100644 (file)
@@ -73,7 +73,7 @@ fn process_cfg_attr(&mut self, attr: ast::Attribute) -> Option<ast::Attribute> {
         };
 
         if attr::cfg_matches(self.config, &cfg, &mut self.diag) {
-            Some(respan(mi.span, ast::Attribute_ {
+            self.process_cfg_attr(respan(mi.span, ast::Attribute_ {
                 id: attr::mk_attr_id(),
                 style: attr.node.style,
                 value: mi.clone(),