Module shim
rustc_
mir_
transform
1.84.0-dev
Module shim
Module Items
Modules
Structs
Enums
Functions
In crate rustc_
mir_
transform
Modules
abort_unwinding_calls
add_call_guards
add_moves_for_packed_drops
add_retag
add_subtyping_projections
check_alignment
check_const_item_mutation
check_packed_ref
check_undefined_transmutes
cleanup_post_borrowck
copy_prop
coroutine
cost_checker
coverage
cross_crate_inline
ctfe_limit
dataflow_const_prop
dead_store_elimination
deduce_param_attrs
deduplicate_blocks
deref_separator
dest_prop
dump_mir
early_otherwise_branch
elaborate_box_derefs
elaborate_drops
errors
ffi_unwind_calls
function_item_references
gvn
inline
instsimplify
jump_threading
known_panics_lint
large_enums
lint
lower_intrinsics
lower_slice_len
match_branches
mentioned_items
multiple_return_terminators
nrvo
pass_manager
post_drop_elaboration
prettify
promote_consts
ref_prop
remove_noop_landing_pads
remove_place_mention
remove_storage_markers
remove_uninit_drops
remove_unneeded_drops
remove_zsts
required_consts
reveal_all
sanity_check
shim
simplify
simplify_branches
simplify_comparison_integral
single_use_consts
sroa
ssa
unreachable_enum_branching
unreachable_prop
validate
Statics
DEFAULT_LOCALE_RESOURCE
Functions
inner_mir_for_ctfe
inner_optimized_mir
is_mir_available
mir_built
mir_const_qualif
mir_drops_elaborated_and_const_checked
mir_for_ctfe
mir_keys
mir_promoted
optimized_mir
promoted_mir
provide
remap_mir_for_const_eval_select
run_analysis_cleanup_passes
run_analysis_to_runtime_passes
run_optimization_passes
run_runtime_cleanup_passes
run_runtime_lowering_passes
take_array
rustc_mir_transform
Module
shim
Copy item path
Settings
Help
Summary
Source
Modules
§
async_
destructor_
ctor
🔒
Structs
§
Clone
Shim
Builder
🔒
Drop
Shim
Elaborator
🔒
Enums
§
Adjustment
🔒
Call
Kind
🔒
Deref
Source
🔒
Functions
§
build_
adt_
ctor
🔒
build_
call_
shim
🔒
Builds a “call” shim for
instance
. The shim calls the function specified by
call_kind
, first adjusting its first argument according to
rcvr_adjustment
.
build_
clone_
shim
🔒
Builds a
Clone::clone
shim for
self_ty
. Here,
def_id
is
Clone::clone
.
build_
construct_
coroutine_
by_
move_
shim
🔒
build_
drop_
shim
🔒
build_
fn_
ptr_
addr_
shim
🔒
build_
thread_
local_
shim
🔒
local_
decls_
for_
sig
🔒
make_
shim
🔒
new_
body
🔒
provide
🔒