rust/compiler
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
..
rustc
rustc_apfloat
rustc_arena Remove unused arena macro args 2021-08-30 13:09:38 +02:00
rustc_ast Handle let-else initializer edge case errors 2021-08-30 20:18:42 -05:00
rustc_ast_lowering Auto merge of #87688 - camsteffen:let-else, r=cjgillot 2021-09-01 01:02:42 +00:00
rustc_ast_passes Rollup merge of #88418 - fee1-dead:trait-assoc-tilde-const, r=oli-obk 2021-08-31 17:54:56 +02:00
rustc_ast_pretty Add let-else to AST 2021-08-30 20:17:45 -05:00
rustc_attr
rustc_builtin_macros Add let-else to AST 2021-08-30 20:17:45 -05:00
rustc_codegen_cranelift rustc_target: TyAndLayout::field should never error. 2021-08-30 00:44:09 +03:00
rustc_codegen_llvm Rollup merge of #88350 - programmerjake:add-ppc-cr-xer-clobbers, r=Amanieu 2021-09-01 09:23:26 +02:00
rustc_codegen_ssa Auto merge of #88506 - Mark-Simulacrum:fix-rlibs, r=ehuss 2021-08-31 19:33:06 +00:00
rustc_data_structures Rollup merge of #88053 - bjorn3:fix_flock_fallback_impl, r=cjgillot 2021-09-01 09:23:25 +02:00
rustc_driver
rustc_error_codes Update E0785.md 2021-08-30 22:18:55 -07:00
rustc_errors
rustc_expand Add let-else to AST 2021-08-30 20:17:45 -05:00
rustc_feature Add let_else feature gate 2021-08-30 20:18:39 -05:00
rustc_fs_util
rustc_graphviz
rustc_hir Fix drop handling for if let expressions 2021-09-01 23:47:41 +01:00
rustc_hir_pretty Remove obsolete MacroDef variant of OwnerNode 2021-08-28 00:24:30 -07:00
rustc_incremental
rustc_index Suggested changes 2021-08-27 16:21:25 -07:00
rustc_infer Enforce diverging let...else 2021-08-30 20:18:42 -05:00
rustc_interface
rustc_lexer
rustc_lint Auto merge of #87688 - camsteffen:let-else, r=cjgillot 2021-09-01 01:02:42 +00:00
rustc_lint_defs Tracking issue for UNSUPPORTED_CALLING_CONVENTIONS 2021-08-27 20:47:00 +03:00
rustc_llvm
rustc_macros
rustc_metadata Treat macros as HIR items 2021-08-28 00:16:34 -07:00
rustc_middle Fix drop handling for if let expressions 2021-09-01 23:47:41 +01:00
rustc_mir Auto merge of #88272 - willcrichton:mutable-sparse-matrix, r=ecstatic-morse 2021-09-01 06:13:15 +00:00
rustc_mir_build Fix drop handling for if let expressions 2021-09-01 23:47:41 +01:00
rustc_parse Auto merge of #87688 - camsteffen:let-else, r=cjgillot 2021-09-01 01:02:42 +00:00
rustc_parse_format
rustc_passes Fix drop handling for if let expressions 2021-09-01 23:47:41 +01:00
rustc_plugin_impl
rustc_privacy rename const_evaluatable_checked to generic_const_exprs 2021-08-30 11:00:21 +02:00
rustc_query_impl Auto merge of #88121 - camelid:better-recursive-alias-error, r=estebank 2021-09-01 03:43:37 +00:00
rustc_query_system Note that trait aliases cannot be recursive 2021-08-27 14:50:52 -07:00
rustc_resolve Add let-else to AST 2021-08-30 20:17:45 -05:00
rustc_save_analysis Treat macros as HIR items 2021-08-28 00:16:34 -07:00
rustc_serialize
rustc_session Remove Session.if_let_suggestions 2021-08-27 18:28:22 -05:00
rustc_span Rollup merge of #88350 - programmerjake:add-ppc-cr-xer-clobbers, r=Amanieu 2021-09-01 09:23:26 +02:00
rustc_symbol_mangling Rollup merge of #85534 - csmoe:demagnle-assert, r=michaelwoerister 2021-08-29 16:25:28 +02:00
rustc_target Rollup merge of #88350 - programmerjake:add-ppc-cr-xer-clobbers, r=Amanieu 2021-09-01 09:23:26 +02:00
rustc_trait_selection Enforce diverging let...else 2021-08-30 20:18:42 -05:00
rustc_traits
rustc_ty_utils
rustc_type_ir
rustc_typeck Rollup merge of #88525 - notriddle:notriddle/coherence-dyn-auto-trait, r=petrochenkov 2021-09-01 09:23:28 +02:00