diff options
| author | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-06-11 04:58:15 +0000 |
|---|---|---|
| committer | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-06-11 04:59:36 +0000 |
| commit | 65d256e82a26ca6e72e6668adb66a284b4ad7ba1 (patch) | |
| tree | 6019be49393af34d103b77631a20f2c140ba8d31 /src/libsyntax | |
| parent | 7d2f75a953b5645d3a336b2978b48b60d310bf54 (diff) | |
Support nested `cfg_attr` attributes
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/config.rs b/src/libsyntax/config.rs index c164e89c52f..207289de347 100644 --- a/src/libsyntax/config.rs +++ b/src/libsyntax/config.rs @@ -78,7 +78,7 @@ impl<'a> StripUnconfigured<'a> { }; 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(), |
