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

9 lines
97 B
Rust

type task_id = int;
#[deriving_eq]
pub enum Task {
TaskHandle(task_id)
}
pub fn main() { }