Skip to content

Commit

Permalink
fix error message for issue-10176.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Mar 30, 2017
1 parent fb99d87 commit 744f666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/compile-fail/issue-10176.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 744f666

Please sign in to comment.