[−][src]Module rustc_mir::shim

Structs

CloneShimBuilder
DropShimElaborator

Enums

Adjustment
CallKind

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_drop_shim
local_decls_for_sig
make_shim
new_body
provide