rust/tests/ui/rust-2018/uniform-paths/fn-local-enum.rs
2023-01-11 09:32:08 +00:00

14 lines
188 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 => {}
}
}