diff options
Diffstat (limited to 'src/test/compile-fail/issue-11319.rs')
| -rw-r--r-- | src/test/compile-fail/issue-11319.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-11319.rs b/src/test/compile-fail/issue-11319.rs index 1d9250305ef..c818b3bb26c 100644 --- a/src/test/compile-fail/issue-11319.rs +++ b/src/test/compile-fail/issue-11319.rs @@ -10,7 +10,7 @@ fn main() { match Some(10) { - //~^ ERROR match arms have incompatible types: expected `bool` but found `()` + //~^ ERROR match arms have incompatible types: expected `bool`, found `()` Some(5) => false, Some(2) => true, None => (), //~ NOTE match arm with an incompatible type |
