diff options
Diffstat (limited to 'src/test/compile-fail/pattern-error-continue.rs')
| -rw-r--r-- | src/test/compile-fail/pattern-error-continue.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/pattern-error-continue.rs b/src/test/compile-fail/pattern-error-continue.rs index 47d0a226a56..01feda34e08 100644 --- a/src/test/compile-fail/pattern-error-continue.rs +++ b/src/test/compile-fail/pattern-error-continue.rs @@ -29,9 +29,9 @@ fn main() { _ => () } match 'c' { - S { .. } => (), //~ ERROR mismatched types: expected `char` but found a structure pattern + S { .. } => (), //~ ERROR mismatched types: expected `char`, found a structure pattern _ => () } - f(true); //~ ERROR mismatched types: expected `char` but found `bool` + f(true); //~ ERROR mismatched types: expected `char`, found `bool` } |
