mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
8547ea32db
Allow `Unreachable` terminators through `min_const_fn` checks Resolves #66756. This allows `Unreachable` terminators through the `min_const_fn` checks if `#![feature(const_if_match)]` is enabled. We could probably just allow them with no feature flag, but it seems okay to be conservative here. r? @oli-obk