rust/compiler/rustc_mir_build
Dylan DPC 7cf09c57a2
Rollup merge of #103031 - est31:match_guard_irrefutable_let, r=oli-obk
Suppress irrefutable let patterns lint for prefixes in match guards

In match guards, irrefutable prefixes might use the bindings created by the match pattern. Ideally, we check for this, but we can do the next best thing and just not lint for irrefutable prefixes in match guards.

Fixes #98361
2022-10-14 16:19:16 +05:30
..
src Rollup merge of #103031 - est31:match_guard_irrefutable_let, r=oli-obk 2022-10-14 16:19:16 +05:30
Cargo.toml Remove from compiler/ crates 2022-09-29 16:49:04 +09:00