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

9 lines
93 B
Rust
Raw Normal View History

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