Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyRustmatch and exhaustivenessSingle-choice MCQ

In this match, why does the second arm produce an 'unreachable pattern' warning?

let x = 7; match x { _ => println!("any"), 7 => println!("seven"), }