2011-06-15 13:19:50 -05:00
|
|
|
|
|
|
|
|
2012-01-19 20:31:08 -06:00
|
|
|
enum option<T> { none, some(T), }
|
2011-06-08 14:52:36 -05:00
|
|
|
|
2012-01-05 08:35:37 -06:00
|
|
|
fn f<T: copy>() -> option<T> { ret none; }
|
2011-06-08 14:52:36 -05:00
|
|
|
|
2011-08-13 02:10:18 -05:00
|
|
|
fn main() { f::<int>(); }
|