1 2 3 4 5 6 7
enum option<T> { none, some(T), } fn f<T: copy>() -> option<T> { ret none; } fn main() { f::<int>(); }