- RFC: https://github.com/rust-lang/rfcs/pull/3637 - Tracking issue: https://github.com/rust-lang/rust/issues/129967 - Feature gate: `#![feature(guard_patterns)]` ```rust match user.subscription_plan() { (Plan::Regular if user.credit() >= 100) | (Plan::Premium if user.credit() >= 80) => {...} } ```
#![feature(guard_patterns)]