rust/tests/ui/deriving/deriving-via-extension-hash-enum.rs
2024-02-16 20:02:50 +00:00

18 lines
178 B
Rust

//@ run-pass
#![allow(dead_code)]
#[derive(Hash)]
enum Foo {
Bar(isize, char),
Baz(char, isize)
}
#[derive(Hash)]
enum A {
B,
C,
D,
E
}
pub fn main(){}