diff options
| author | bors <bors@rust-lang.org> | 2019-01-07 01:05:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-01-07 01:05:45 +0000 |
| commit | 789a15a4221acbbbd2ec1352a0a5ce9f497a4425 (patch) | |
| tree | 402c0b3d302432aba8d043e867056ef184f27f7e /src/libsyntax | |
| parent | d39dddf7956beead52c4c4fbd85f40a5372bbd7a (diff) | |
| parent | 1f64f60d5cba64beca6e812e16d6d99519d3551b (diff) | |
Auto merge of #57379 - petrochenkov:parsrecov, r=estebank
tests: Do not use `-Z parse-only`, continue compilation to test recovery Make tests closer to reality! The next step will be enabling `-Z continue-parse-after-error` by default and looking at the regressions. A few instances of `-Z parse-only` are kept when it's appropriate, see e.g `ui/impl-trait/impl-trait-plus-priority.rs`, which tests mostly semantically wrong code and would generate too much useless noise if allowed to continue.
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, |
