about summary refs log tree commit diff
path: root/tests/ui/rust-2018/uniform-paths/fn-local-enum.rs
blob: 49b920907223da9faf330b22b882b5bc0df5f9cc (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 => {}
    }
}