8 lines
110 B
Rust
8 lines
110 B
Rust
|
|
|
|
enum option<T> { none, some(T), }
|
|
|
|
fn f<T: Copy>() -> option<T> { return none; }
|
|
|
|
fn main() { f::<int>(); }
|