rust/compiler/rustc_mir_build/src
Yuki Okushi 955091be8f
Rollup merge of #99518 - dingxiangfei2009:let-else-additional-tests, r=oli-obk
Let-else: break out scopes when a let-else pattern fails to match

This PR will commit to a new behavior so that values from initializer expressions are dropped earlier when a let-else pattern fails to match.

Fix #98672.
Close #93951.
cc `@camsteffen` `@est31`
2022-07-30 07:39:49 +09:00
..
build break out scopes when let-else fails to match 2022-07-21 00:35:43 +08:00
thir Rollup merge of #99651 - compiler-errors:fn-and-raw-ptr-in-const-generics, r=oli-obk 2022-07-27 17:55:04 +02:00
check_unsafety.rs use body's param-env when checking if type needs drop 2022-07-17 10:56:12 -07:00
lib.rs Stabilize let_chains 2022-07-16 20:17:58 -03:00
lints.rs Make MIR basic blocks field public 2022-07-07 08:11:49 +02:00