rust/compiler/rustc_middle/src/middle
Matthew Jasper ff8c0ef0e4 Fix drop handling for if let expressions
MIR lowering for `if let` expressions is now more complicated now that
`if let` exists in HIR. This PR adds a scope for the variables bound in
an `if let` expression and then uses an approach similar to how we
handle loops to ensure that we reliably drop the correct variables.
2021-09-01 23:47:41 +01:00
..
codegen_fn_attrs.rs rustc: Fill out remaining parts of C-unwind ABI 2021-08-03 07:06:19 -07:00
cstore.rs Rollup merge of #87092 - ricobbe:fix-raw-dylib-multiple-definitions, r=petrochenkov 2021-07-18 14:21:56 +09:00
dependency_format.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
exported_symbols.rs Revert "Revert "Merge CrateDisambiguator into StableCrateId"" 2021-07-06 11:28:04 +02:00
lang_items.rs don't take TyCtxt by reference 2020-09-18 20:49:25 +02:00
limits.rs Remove Session.used_attrs and move logic to CheckAttrVisitor 2021-08-21 13:27:27 -05:00
mod.rs Query-ify global limit attribute handling 2021-07-04 12:33:14 -05:00
privacy.rs rustc: Replace HirIds with LocalDefIds in AccessLevels tables 2021-07-31 19:31:29 +03:00
region.rs Fix drop handling for if let expressions 2021-09-01 23:47:41 +01:00
resolve_lifetime.rs improve diagnosts for GATs 2021-05-11 14:09:46 +02:00
stability.rs rustc: Replace HirIds with LocalDefIds in AccessLevels tables 2021-07-31 19:31:29 +03:00