rust/compiler/rustc_mir_build/src
bors 2019147c56 Auto merge of #101894 - dingxiangfei2009:let-else-avoid-duplicate-storage-live, r=oli-obk
Avoid duplicating StorageLive in let-else

cc `@est31`

Fix #101867
Fix #101932

#101410 introduced directives to activate storages of bindings in let-else earlier. However, since it is using the machinery of `match` and friends for pattern matching and binding, those storages are activated for the second time. This PR adjusts this behavior and avoid the duplicated activation for let-else statements.
2022-09-19 17:27:30 +00:00
..
build Auto merge of #101894 - dingxiangfei2009:let-else-avoid-duplicate-storage-live, r=oli-obk 2022-09-19 17:27:30 +00:00
thir remove the Subst trait, always use EarlyBinder 2022-09-19 11:37:27 +02:00
check_unsafety.rs Clean up THIR patterns. 2022-09-02 07:26:17 +10:00
lib.rs Only enable the let_else feature on bootstrap 2022-09-15 21:06:45 +02:00
lints.rs Remove trait_of_item query. 2022-08-01 21:39:26 +02:00