]> git.lizzy.rs Git - rust.git/blob - tests/target/empty-tuple-no-conversion-to-unit-struct.rs
Fix static async closure qualifier order
[rust.git] / tests / target / empty-tuple-no-conversion-to-unit-struct.rs
1 enum TestEnum {
2     Arm1(),
3     Arm2,
4 }
5
6 fn foo() {
7     let test = TestEnum::Arm1;
8     match test {
9         TestEnum::Arm1() => {}
10         TestEnum::Arm2 => {}
11     }
12 }