rust/src/test/run-pass/deriving-enum-single-variant.rs

9 lines
98 B
Rust
Raw Normal View History

2012-12-11 17:40:49 -06:00
type task_id = int;
#[deriving(Eq)]
2012-12-11 17:40:49 -06:00
pub enum Task {
TaskHandle(task_id)
}
pub fn main() { }