fn build_call_shim<'tcx>(
    tcx: TyCtxt<'tcx>,
    instance: InstanceDef<'tcx>,
    rcvr_adjustment: Option<Adjustment>,
    call_kind: CallKind<'tcx>
) -> Body<'tcx>
Expand description

Builds a “call” shim for instance. The shim calls the function specified by call_kind, first adjusting its first argument according to rcvr_adjustment.