rust/src/test/ui/deriving/deriving-via-extension-hash-enum.rs
2019-07-27 18:56:16 +03:00

18 lines
177 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(){}