8 lines
135 B
Rust
8 lines
135 B
Rust
// error-pattern: mismatched types
|
|
|
|
use std;
|
|
import std::task;
|
|
|
|
fn f(x: int) -> int { ret x; }
|
|
|
|
fn main() { task::_spawn(bind f(10)); } |