rust/compiler
Matthias Krüger 6cdc83b64e
Rollup merge of #105683 - JakobDegen:dest-prop-storage, r=tmiasko
Various cleanups to dest prop

This makes fixing the issues identified in #105577 easier. A couple changes

 - Use an enum with names instead of a bool
 - Only call `remove_candidates_if` from one place instead of two. Doing it from two places is far too fragile, since any divergence in the behavior between those callsites is likely to be unsound.
 - Remove `is_constant`. Right now we only merge locals, so this doesn't do anything, and the logic would be wrong if it did.

r? `@tmiasko`
2022-12-15 12:46:02 +01:00
..
rustc
rustc_abi
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Auto merge of #105657 - oli-obk:mk_projection_ty, r=lcnr 2022-12-15 04:21:25 +00:00
rustc_builtin_macros
rustc_codegen_cranelift
rustc_codegen_gcc
rustc_codegen_llvm
rustc_codegen_ssa
rustc_const_eval
rustc_data_structures
rustc_driver
rustc_error_codes
rustc_error_messages Ensure async trait impls are async (or otherwise return an opaque type) 2022-12-14 16:38:21 -08:00
rustc_errors
rustc_expand
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_analysis Rollup merge of #104592 - ComputerDruid:async_check, r=compiler-errors 2022-12-15 12:46:00 +01:00
rustc_hir_pretty
rustc_hir_typeck
rustc_incremental
rustc_index
rustc_infer Auto merge of #105657 - oli-obk:mk_projection_ty, r=lcnr 2022-12-15 04:21:25 +00:00
rustc_interface
rustc_lexer
rustc_lint
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros
rustc_metadata
rustc_middle Rollup merge of #105627 - compiler-errors:dyn-auto-suggestable, r=davidtwco 2022-12-15 12:46:01 +01:00
rustc_mir_build
rustc_mir_dataflow
rustc_mir_transform Rollup merge of #105683 - JakobDegen:dest-prop-storage, r=tmiasko 2022-12-15 12:46:02 +01:00
rustc_monomorphize
rustc_parse
rustc_parse_format
rustc_passes
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system
rustc_resolve
rustc_save_analysis
rustc_serialize
rustc_session
rustc_smir
rustc_span
rustc_symbol_mangling
rustc_target
rustc_trait_selection Rollup merge of #105633 - compiler-errors:term-agnostic, r=oli-obk 2022-12-15 12:46:01 +01:00
rustc_traits
rustc_transmute
rustc_ty_utils Rollup merge of #105623 - compiler-errors:generator-type-size-fix, r=Nilstrieb 2022-12-15 12:46:00 +01:00
rustc_type_ir