1
Fork 0
rust/src/test/ui/rust-2018/uniform-paths/fn-local-enum.rs

14 lines
153 B
Rust
Raw Normal View History

// compile-pass
// edition:2018
fn main() {
enum E { A, B, C }
use E::*;
match A {
A => {}
B => {}
C => {}
}
}