Skip to main content

conv_size_of_call

Function conv_size_of_call 

Source
fn conv_size_of_call<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
    pair: Pair<'_, Rule>,
) -> ContractExpr<'tcx>
Expand description

Convert size_of::<T>() / align_of::<T>() (optionally std::mem:: / core::mem:: prefixed) into SizeOf / AlignOf.