7 lines
107 B
Rust
7 lines
107 B
Rust
// error-pattern: mismatched types
|
|
|
|
use std;
|
|
import task;
|
|
|
|
fn main() { task::spawn(fn~() -> int { 10 }); }
|