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)
//~^ ERROR mismatched types
//~| expected type `isize`
//~| found type `(_, _)`
//~| found type `(!, !)`
//~| expected isize, found tuple
}