about summary refs log tree commit diff
path: root/src/test/compile-fail/pattern-error-continue.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2016-01-08 16:19:13 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2016-01-08 16:19:13 +0100
commitfa027d1417e7eea7d7a65c6a4a60d63dac7917ca (patch)
tree062c33c49e252116d3ebf070863e80501323f8a1 /src/test/compile-fail/pattern-error-continue.rs
parent40e2ac28e4bff4f38bedad90345e4dc6018605ac (diff)
downloadrust-fa027d1417e7eea7d7a65c6a4a60d63dac7917ca.tar.gz
rust-fa027d1417e7eea7d7a65c6a4a60d63dac7917ca.zip
The lint warnings are not reported since we report the errors first and then exit.
I think that behavior is fine, so I am removing the expected warnings from these tests.
Diffstat (limited to 'src/test/compile-fail/pattern-error-continue.rs')
-rw-r--r--src/test/compile-fail/pattern-error-continue.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/compile-fail/pattern-error-continue.rs b/src/test/compile-fail/pattern-error-continue.rs
index 1721d1f0ae1..aa7202574ab 100644
--- a/src/test/compile-fail/pattern-error-continue.rs
+++ b/src/test/compile-fail/pattern-error-continue.rs
@@ -26,7 +26,6 @@ fn main() {
     match A::B(1, 2) {
         A::B(_, _, _) => (), //~ ERROR this pattern has 3 fields, but
         A::D(_) => (),       //~ ERROR this pattern has 1 field, but
-        //~^ WARN `A::D` does not name a tuple variant or a tuple struct
         _ => ()
     }
     match 'c' {