Module rustc_mir_transform::shim
source · Modules§
Structs§
- CloneShimBuilder π
Enums§
- Adjustment π
- CallKind π
- DerefSource π
Functions§
- build_call_shim πBuilds a βcallβ shim for
instance
. The shim calls the function specified bycall_kind
, first adjusting its first argument according torcvr_adjustment
. - build_clone_shim πBuilds a
Clone::clone
shim forself_ty
. Here,def_id
isClone::clone
. - build_drop_shim π
- local_decls_for_sig π
- make_shim π
- new_body π