rust/tests/ui/rust-2018/uniform-paths/fn-local-enum.rs
2024-02-16 20:02:50 +00:00

14 lines
190 B
Rust

//@ build-pass (FIXME(62277): could be check-pass?)
//@ edition:2018
fn main() {
enum E { A, B, C }
use E::*;
match A {
A => {}
B => {}
C => {}
}
}