about summary refs log tree commit diff
path: root/src/test/compile-fail/pattern-error-continue.rs
diff options
context:
space:
mode:
authormdinger <mdinger.bugzilla@gmail.com>2015-01-12 01:01:44 -0500
committermdinger <mdinger.bugzilla@gmail.com>2015-01-12 01:34:13 -0500
commit7b82a93be3798d9345cd459e251bcc571cf60a79 (patch)
tree0308a3af571fbcd3f0b3b17232e76e5628985ddf /src/test/compile-fail/pattern-error-continue.rs
parent5616b92e4d56dff3353d3e5f3ca6b16cb7ad60e6 (diff)
downloadrust-7b82a93be3798d9345cd459e251bcc571cf60a79.tar.gz
rust-7b82a93be3798d9345cd459e251bcc571cf60a79.zip
Fix testsuite errors
Diffstat (limited to 'src/test/compile-fail/pattern-error-continue.rs')
-rw-r--r--src/test/compile-fail/pattern-error-continue.rs13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/test/compile-fail/pattern-error-continue.rs b/src/test/compile-fail/pattern-error-continue.rs
index c288429dcda..aa7202574ab 100644
--- a/src/test/compile-fail/pattern-error-continue.rs
+++ b/src/test/compile-fail/pattern-error-continue.rs
@@ -30,9 +30,18 @@ fn main() {
     }
     match 'c' {
         S { .. } => (),
-        //~^ ERROR mismatched types: expected `char`, found `S` (expected char, found struct S)
+        //~^ ERROR mismatched types
+        //~| expected `char`
+        //~| found `S`
+        //~| expected char
+        //~| found struct `S`
 
         _ => ()
     }
-    f(true);            //~ ERROR mismatched types: expected `char`, found `bool`
+    f(true);
+    //~^ ERROR mismatched types
+    //~| expected `char`
+    //~| found `bool`
+    //~| expected char
+    //~| found bool
 }