summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rust-2018/uniform-paths/fn-local-enum.rs
blob: c6525869b021af5f4d19334c2bb1961da2c30507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// build-pass (FIXME(62277): could be check-pass?)
// edition:2018

fn main() {
    enum E { A, B, C }

    use E::*;
    match A {
        A => {}
        B => {}
        C => {}
    }
}