mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
18 lines
177 B
Rust
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(){}
|