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-09-07 16:52:28 -05:00
|
|
|
fn f<T: Copy>() -> option<T> { return none; }
|
2011-06-08 14:52:36 -05:00
|
|
|
|
2011-08-13 02:10:18 -05:00
|
|
|
fn main() { f::<int>(); }
|