10 lines
98 B
Rust
10 lines
98 B
Rust
// error-pattern: mismatched types
|
|
|
|
fn f(int x) -> int {
|
|
ret x;
|
|
}
|
|
|
|
fn main() {
|
|
spawn f(10);
|
|
}
|