8 lines
123 B
Rust
8 lines
123 B
Rust
fn main() {
|
|
fn echo<T>(c: int, x: fn(T)) { #error("wee"); }
|
|
|
|
let y = bind echo(42, _);
|
|
|
|
y(fn(&&i: str) { });
|
|
}
|