rust/compiler
bors 8df58ae03a Auto merge of #78393 - SNCPlay42:match-if-guard, r=tmandry
Always record reference to binding in match if guards

When encountering a binding from a `match` pattern in its `if` guard when computing a generator's interior types, we must always record the type of a reference to the binding because of how `if` guards are lowered to MIR. This was missed in #75213 because the binding in that test case was autorefed and we recorded that adjusted type anyway.

Fixes #78366
2020-10-30 07:05:57 +00:00
..
rustc
rustc_apfloat
rustc_arena Fix typos in arena comments 2020-10-27 18:14:21 +01:00
rustc_ast Auto merge of #77502 - varkor:const-generics-suggest-enclosing-braces, r=petrochenkov 2020-10-27 09:25:54 +00:00
rustc_ast_lowering Fix typos 2020-10-29 16:51:46 +01:00
rustc_ast_passes Fix typos 2020-10-29 16:51:46 +01:00
rustc_ast_pretty Drop unneeded mut 2020-10-20 16:42:51 +02:00
rustc_attr switch allow_internal_unstable const fns to rustc_allow_const_fn_unstable 2020-10-21 20:54:20 +02:00
rustc_builtin_macros Unconditionally capture tokens for attributes. 2020-10-21 18:57:29 -04:00
rustc_codegen_cranelift Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff25d3dda92' 2020-10-26 09:53:27 +01:00
rustc_codegen_llvm Auto merge of #78414 - nox:function-sections, r=nagisa,bjorn3 2020-10-28 17:47:36 +00:00
rustc_codegen_ssa Rollup merge of #78396 - josephlr:ermsb, r=petrochenkov 2020-10-27 08:45:24 +09:00
rustc_data_structures Fix typos 2020-10-29 16:51:46 +01:00
rustc_driver Auto merge of #77975 - bjorn3:cg_clif_subtree3, r=Mark-Simulacrum 2020-10-26 16:31:38 +00:00
rustc_error_codes Rollup merge of #78332 - PoignardAzur:doc_E0308, r=camelid 2020-10-27 08:44:54 +09:00
rustc_errors Fix typos 2020-10-29 16:51:46 +01:00
rustc_expand Rollup merge of #78326 - Aaron1011:fix/min-stmt-lints, r=petrochenkov 2020-10-25 18:43:49 +09:00
rustc_feature Add unsized_locals to INCOMPLETE_FEATURES list 2020-10-27 14:45:28 -03:00
rustc_fs_util Remove unused code from remaining compiler crates 2020-10-14 04:14:32 +02:00
rustc_graphviz
rustc_hir Rollup merge of #78224 - lcnr:repeat-expr, r=varkor 2020-10-29 12:08:40 +09:00
rustc_hir_pretty Do not print braces again print_anon_const already does it 2020-10-19 16:26:13 -03:00
rustc_incremental
rustc_index
rustc_infer Rollup merge of #78460 - varkor:turbofish-string-generic, r=lcnr 2020-10-29 12:08:50 +09:00
rustc_interface Auto merge of #78414 - nox:function-sections, r=nagisa,bjorn3 2020-10-28 17:47:36 +00:00
rustc_lexer Noticed a potential bug in eat_while(): it doesn't account for number of UTF8 bytes. 2020-10-09 11:12:54 +02:00
rustc_lint Rollup merge of #78431 - Rustin-Liu:rustin-patch-lint, r=estebank 2020-10-29 17:05:21 +01:00
rustc_llvm Rollup merge of #78462 - danielframpton:fixnullisa, r=nagisa 2020-10-29 17:05:23 +01:00
rustc_macros Retire rustc_dep_node_try_load_from_on_disk_cache. 2020-10-22 23:04:46 +02:00
rustc_metadata Compute proper module parent during resolution 2020-10-24 14:28:13 -04:00
rustc_middle Auto merge of #78432 - sexxi-goose:fix-77993-take3, r=nikomatsakis 2020-10-30 03:00:13 +00:00
rustc_mir Rollup merge of #78494 - bugadani:typo2, r=jonas-schievink 2020-10-29 12:09:03 +09:00
rustc_mir_build Auto merge of #78430 - Nadrieril:taking-constructors-seriously2, r=varkor 2020-10-29 01:37:49 +00:00
rustc_parse Rollup merge of #78460 - varkor:turbofish-string-generic, r=lcnr 2020-10-29 12:08:50 +09:00
rustc_parse_format
rustc_passes Rollup merge of #78208 - liketechnik:issue-69399, r=oli-obk 2020-10-25 18:43:40 +09:00
rustc_plugin_impl
rustc_privacy Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
rustc_query_system Remove unused ProfileCategory. 2020-10-22 22:35:32 +02:00
rustc_resolve Auto merge of #78508 - wesleywiser:optimize_visit_scopes, r=petrochenkov 2020-10-29 18:34:59 +00:00
rustc_save_analysis Rollup merge of #78349 - JohnTitor:issue-75962, r=davidtwco 2020-10-27 08:45:07 +09:00
rustc_serialize Replace absolute paths with relative ones 2020-10-13 14:16:45 +02:00
rustc_session Rollup merge of #78244 - workingjubilee:dogfood-fancy-ranges, r=varkor 2020-10-29 17:05:11 +01:00
rustc_span Rollup merge of #78423 - tgnottingham:caching_source_map_bounds_check, r=oli-obk 2020-10-29 17:05:17 +01:00
rustc_symbol_mangling Update to rustc-demangle 0.1.18 2020-10-21 21:11:11 +01:00
rustc_target Rollup merge of #77716 - francesca64:revert-ios-dynamic-linking, r=jonas-schievink 2020-10-24 14:11:59 +02:00
rustc_trait_selection Rollup merge of #78422 - estebank:fix-78372, r=pnkfelix 2020-10-29 17:05:14 +01:00
rustc_traits Review comments 2020-10-16 12:58:50 -04:00
rustc_ty Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
rustc_typeck Auto merge of #78393 - SNCPlay42:match-if-guard, r=tmandry 2020-10-30 07:05:57 +00:00