rust/compiler/rustc_mir_transform/src
bors f3343420c8 Auto merge of #134625 - compiler-errors:unsafe-binders-ty, r=oli-obk
Begin to implement type system layer of unsafe binders

Mostly TODOs, but there's a lot of match arms that are basically just noops so I wanted to split these out before I put up the MIR lowering/projection part of this logic.

r? oli-obk

Tracking:

- https://github.com/rust-lang/rust/issues/130516
2024-12-24 00:51:51 +00:00
..
coroutine Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
coverage coverage: Rename basic_coverage_blocks to just graph 2024-12-20 17:48:59 +11:00
inline use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
shim mir: require is_cleanup when creating BasicBlockData 2024-12-18 20:43:54 +08:00
abort_unwinding_calls.rs
add_call_guards.rs
add_moves_for_packed_drops.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
add_retag.rs
add_subtyping_projections.rs
check_alignment.rs move fn is_item_raw to TypingEnv 2024-11-19 18:06:20 +01:00
check_const_item_mutation.rs
check_packed_ref.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
check_undefined_transmutes.rs
cleanup_post_borrowck.rs
copy_prop.rs move fn is_item_raw to TypingEnv 2024-11-19 18:06:20 +01:00
coroutine.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
cost_checker.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
cross_crate_inline.rs rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structures 2024-12-16 19:08:19 +01:00
ctfe_limit.rs
dataflow_const_prop.rs Auto merge of #134625 - compiler-errors:unsafe-binders-ty, r=oli-obk 2024-12-24 00:51:51 +00:00
dead_store_elimination.rs reduce false positives of tail-expr-drop-order from consumed values 2024-11-20 20:53:11 +08:00
deduce_param_attrs.rs move fn is_item_raw to TypingEnv 2024-11-19 18:06:20 +01:00
deduplicate_blocks.rs
deref_separator.rs
dest_prop.rs Delete Rvalue::Len 2024-12-22 06:12:39 -08:00
dump_mir.rs
early_otherwise_branch.rs mir-opt: Do not handle the cleanup BB in the EarlyOtherwiseBranch 2024-12-18 20:43:55 +08:00
elaborate_box_derefs.rs
elaborate_drops.rs Improve terminology in elaborate_drops.rs. 2024-12-10 12:06:03 +11:00
errors.rs Validate and test -Zmir-enable-passes 2024-11-12 13:28:05 +00:00
ffi_unwind_calls.rs
function_item_references.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
gvn.rs Delete Rvalue::Len 2024-12-22 06:12:39 -08:00
inline.rs mir: require is_cleanup when creating BasicBlockData 2024-12-18 20:43:54 +08:00
instsimplify.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
jump_threading.rs Variants::Single: do not use invalid VariantIdx for uninhabited enums 2024-12-18 11:00:21 +01:00
known_panics_lint.rs Delete Rvalue::Len 2024-12-22 06:12:39 -08:00
large_enums.rs make no-variant types a dedicated Variants variant 2024-12-18 11:01:54 +01:00
lib.rs Always run tail_expr_drop_order lint on promoted MIR 2024-12-23 20:25:41 +00:00
lint.rs Move always_storage_live_locals. 2024-11-26 12:05:57 +11:00
lint_tail_expr_drop_order.rs Begin to implement type system layer of unsafe binders 2024-12-22 21:57:57 +00:00
lower_intrinsics.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
lower_slice_len.rs
match_branches.rs Remove -Zfuel. 2024-11-26 10:45:21 +00:00
mentioned_items.rs
multiple_return_terminators.rs Remove -Zfuel. 2024-11-26 10:45:21 +00:00
nrvo.rs Remove -Zfuel. 2024-11-26 10:45:21 +00:00
pass_manager.rs mir validator: don't store mir phase 2024-12-02 13:38:18 +01:00
post_analysis_normalize.rs rebase 2024-11-23 13:52:57 +01:00
post_drop_elaboration.rs
prettify.rs
promote_consts.rs Delete Rvalue::Len 2024-12-22 06:12:39 -08:00
ref_prop.rs Move always_storage_live_locals. 2024-11-26 12:05:57 +11:00
remove_noop_landing_pads.rs reduce false positives of tail-expr-drop-order from consumed values 2024-11-20 20:53:11 +08:00
remove_place_mention.rs
remove_storage_markers.rs
remove_uninit_drops.rs Change ChunkedBitSet<MovePathIndex>s to MixedBitSet. 2024-12-05 20:07:26 +11:00
remove_unneeded_drops.rs Remove -Zfuel. 2024-11-26 10:45:21 +00:00
remove_zsts.rs Remove -Zfuel. 2024-11-26 10:45:21 +00:00
required_consts.rs
sanity_check.rs
shim.rs Implement projection and shim for AFIDT 2024-12-10 16:52:20 +00:00
simplify.rs reduce false positives of tail-expr-drop-order from consumed values 2024-11-20 20:53:11 +08:00
simplify_branches.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
simplify_comparison_integral.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
single_use_consts.rs
sroa.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
ssa.rs move fn is_item_raw to TypingEnv 2024-11-19 18:06:20 +01:00
strip_debuginfo.rs We don't need NonNull::as_ptr debuginfo 2024-12-10 01:29:43 -08:00
unreachable_enum_branching.rs make no-variant types a dedicated Variants variant 2024-12-18 11:01:54 +01:00
unreachable_prop.rs Remove -Zfuel. 2024-11-26 10:45:21 +00:00
validate.rs Delete Rvalue::Len 2024-12-22 06:12:39 -08:00