60ae1590af
And remove support for the old syntax
6 lines
145 B
Rust
6 lines
145 B
Rust
fn quux<T: copy>(x: T) -> T { let f = bind id::<T>(_); ret f(x); }
|
|
|
|
fn id<T: copy>(x: T) -> T { ret x; }
|
|
|
|
fn main() { assert (quux(10) == 10); }
|