fix error message for issue-10176.rs

This commit is contained in:
Niko Matsakis 2017-03-26 07:02:39 -04:00
parent fb99d87c46
commit 744f666445

View File

@ -12,7 +12,7 @@ fn f() -> isize {
(return 1, return 2) (return 1, return 2)
//~^ ERROR mismatched types //~^ ERROR mismatched types
//~| expected type `isize` //~| expected type `isize`
//~| found type `(_, _)` //~| found type `(!, !)`
//~| expected isize, found tuple //~| expected isize, found tuple
} }