rust/tests/ui/deriving/deriving-enum-single-variant.rs
2023-01-11 09:32:08 +00:00

13 lines
186 B
Rust

// run-pass
// pretty-expanded FIXME #23616
#![allow(non_camel_case_types)]
pub type task_id = isize;
#[derive(PartialEq)]
pub enum Task {
TaskHandle(task_id)
}
pub fn main() { }