fix error message for issue-10176.rs
This commit is contained in:
parent
fb99d87c46
commit
744f666445
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user