diff options
| author | dylan_DPC <dylan.dpc@gmail.com> | 2019-01-04 17:21:29 +0530 |
|---|---|---|
| committer | dylan_DPC <dylan.dpc@gmail.com> | 2019-01-08 00:21:07 +0530 |
| commit | 64a17a0e599ec32252b96f7b5fa3d208ec7d77ef (patch) | |
| tree | 1afded876ad81b1d603a550f51c73e95870aa157 /src/libsyntax | |
| parent | 1ef99f1353b5cb2e2a4c4fe316d9869c4834888b (diff) | |
| download | rust-64a17a0e599ec32252b96f7b5fa3d208ec7d77ef.tar.gz rust-64a17a0e599ec32252b96f7b5fa3d208ec7d77ef.zip | |
remove unused imports and feature gate from tests
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/config.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libsyntax/config.rs b/src/libsyntax/config.rs index cf5ae4e7630..a987f534a27 100644 --- a/src/libsyntax/config.rs +++ b/src/libsyntax/config.rs @@ -5,7 +5,6 @@ use feature_gate::{ Features, get_features, GateIssue, - emit_feature_err, }; use {fold, attr}; use ast; @@ -94,8 +93,6 @@ impl<'a> StripUnconfigured<'a> { return vec![attr]; } - let cfg_attr_span = attr.span; - let (cfg_predicate, expanded_attrs) = match attr.parse(self.sess, |parser| { parser.expect(&token::OpenDelim(token::Paren))?; |
