diff options
Diffstat (limited to 'src/test/compile-fail/pattern-error-continue.rs')
| -rw-r--r-- | src/test/compile-fail/pattern-error-continue.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/compile-fail/pattern-error-continue.rs b/src/test/compile-fail/pattern-error-continue.rs index 01feda34e08..f438f9973cf 100644 --- a/src/test/compile-fail/pattern-error-continue.rs +++ b/src/test/compile-fail/pattern-error-continue.rs @@ -29,7 +29,8 @@ fn main() { _ => () } match 'c' { - S { .. } => (), //~ ERROR mismatched types: expected `char`, found a structure pattern + S { .. } => (), + //~^ ERROR mismatched types: expected `char`, found `S` (expected char, found struct S) _ => () } |
