diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-01-06 18:33:05 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-01-06 22:20:46 +0300 |
| commit | 1f64f60d5cba64beca6e812e16d6d99519d3551b (patch) | |
| tree | 9cd15881fe2f274a22e7d00deff13ea7dfd29ab5 /src/libsyntax | |
| parent | 6b2c3117184e9fff432e84f8d75417056d757113 (diff) | |
| download | rust-1f64f60d5cba64beca6e812e16d6d99519d3551b.tar.gz rust-1f64f60d5cba64beca6e812e16d6d99519d3551b.zip | |
tests: Do not use `-Z parse-only`, continue compilation to test recovery
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 8362c86f8ba..cca2702f1a7 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -1543,7 +1543,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> { fn visit_item(&mut self, i: &'a ast::Item) { match i.node { - ast::ItemKind::Static(..) | ast::ItemKind::Const(_,_) => { if i.ident.name == "_" { gate_feature_post!(&self, underscore_const_names, i.span, |
