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 => {} } }