9a77a17e3b
fixes #2772
3 lines
107 B
Rust
3 lines
107 B
Rust
fn force(f: fn() -> int) -> int { f() }
|
|
fn main() { log(debug, force(|| {})); } //~ ERROR mismatched types
|