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