about summary refs log tree commit diff
path: root/src/test/ui/parser/pub-method-macro.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-01-07 01:05:45 +0000
committerbors <bors@rust-lang.org>2019-01-07 01:05:45 +0000
commit789a15a4221acbbbd2ec1352a0a5ce9f497a4425 (patch)
tree402c0b3d302432aba8d043e867056ef184f27f7e /src/test/ui/parser/pub-method-macro.rs
parentd39dddf7956beead52c4c4fbd85f40a5372bbd7a (diff)
parent1f64f60d5cba64beca6e812e16d6d99519d3551b (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/test/ui/parser/pub-method-macro.rs')
-rw-r--r--src/test/ui/parser/pub-method-macro.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/ui/parser/pub-method-macro.rs b/src/test/ui/parser/pub-method-macro.rs
index 9eb64cd23d1..f04af1a0d65 100644
--- a/src/test/ui/parser/pub-method-macro.rs
+++ b/src/test/ui/parser/pub-method-macro.rs
@@ -1,7 +1,5 @@
 // Issue #18317
 
-// compile-flags: -Z parse-only
-
 mod bleh {
     macro_rules! defn {
         ($n:ident) => (