Module rustc_mir_transform::shim
source · Structs
Enums
CallKind 🔒
Functions
Builds a “call” shim for
instance
. The shim calls the function specified by call_kind
,
first adjusting its first argument according to rcvr_adjustment
.Builds a
Clone::clone
shim for self_ty
. Here, def_id
is Clone::clone
.new_body 🔒