rust/tests/ui/rust-2018/uniform-paths/fn-local-enum.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
188 B
Rust
Raw Normal View History

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