rust/tests/ui/deriving/deriving-enum-single-variant.rs
2024-02-16 20:02:50 +00:00

13 lines
188 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() { }