10 lines
172 B
Rust
10 lines
172 B
Rust
fn f() -> isize {
|
|
(return 1, return 2)
|
|
//~^ ERROR mismatched types
|
|
//~| expected type `isize`
|
|
//~| found type `(!, !)`
|
|
//~| expected isize, found tuple
|
|
}
|
|
|
|
fn main() {}
|