This works; let's consider adding a test for it since it's a bit of a special case. Reported to be working in https://github.com/rust-lang/rust/issues/49146#issuecomment-558333127 by @jyn514. ```rust // check-pass #![feature(const_if_match)] enum E { A, B, C } const fn f(e: E) { match e { _ => {} } } ```
This works; let's consider adding a test for it since it's a bit of a special case. Reported to be working in #49146 (comment) by @jyn514.