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