diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-04-20 14:42:13 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2016-05-02 11:47:10 -0400 |
| commit | e416518e6862335a9c99f4c9dfe23192bac3cab8 (patch) | |
| tree | 6df3b68c298843ffc1a3bb7423e6fe9084521b2c /src/test/compile-fail/pattern-error-continue.rs | |
| parent | d9a947ce8fd4f53b7a273b39a84a7af0fe34d2c5 (diff) | |
| download | rust-e416518e6862335a9c99f4c9dfe23192bac3cab8.tar.gz rust-e416518e6862335a9c99f4c9dfe23192bac3cab8.zip | |
update test cases to reflect new messages
Diffstat (limited to 'src/test/compile-fail/pattern-error-continue.rs')
| -rw-r--r-- | src/test/compile-fail/pattern-error-continue.rs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/test/compile-fail/pattern-error-continue.rs b/src/test/compile-fail/pattern-error-continue.rs index 9b675958003..d9f3bb3c40f 100644 --- a/src/test/compile-fail/pattern-error-continue.rs +++ b/src/test/compile-fail/pattern-error-continue.rs @@ -31,17 +31,15 @@ fn main() { match 'c' { S { .. } => (), //~^ ERROR mismatched types - //~| expected `char` - //~| found `S` - //~| expected char - //~| found struct `S` + //~| expected type `char` + //~| found type `S` + //~| expected char, found struct `S` _ => () } f(true); //~^ ERROR mismatched types - //~| expected `char` - //~| found `bool` + //~| expected char, found bool match () { E::V => {} //~ ERROR failed to resolve. Use of undeclared type or module `E` |
