548de69d2d
Fixes #1408
14 lines
169 B
Rust
14 lines
169 B
Rust
enum TestEnum {
|
|
Arm1(),
|
|
Arm2,
|
|
}
|
|
|
|
|
|
fn foo() {
|
|
let test = TestEnum::Arm1;
|
|
match test {
|
|
TestEnum::Arm1() => {}
|
|
TestEnum::Arm2 => {}
|
|
}
|
|
}
|