Closed
Description
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.
// check-pass
#![feature(const_if_match)]
enum E {
A,
B,
C
}
const fn f(e: E) {
match e {
_ => {}
}
}