mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
e4e1a995dc
add note for non-exhaustive matches with guards Associated issue: #92197 When a match statement includes guards on every match arm (and is therefore necessarily non-exhaustive), add a note to the error E0004 diagnostic noting this.