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