1
Fork 0
rust/compiler/rustc_mir_build
Dylan DPC d29491aba0
Rollup merge of #104669 - LeSeulArtichaut:88015-if-let-guard-bindings, r=cjgillot
Only declare bindings for if-let guards once per arm

Currently, each candidate for a match arm uses separate locals for the bindings in the if-let guard, causing problems (#88015) when those branches converge in the arm body.

Fixes #88015 (🤞)
2022-11-22 16:36:38 +05:30
..
src Rollup merge of #104669 - LeSeulArtichaut:88015-if-let-guard-bindings, r=cjgillot 2022-11-22 16:36:38 +05:30
Cargo.toml interpret: use Either over Result when it is not representing an error condition 2022-11-18 10:18:32 +01:00