Function rustc_trait_selection::traits::vtable_trait_vptr_slot_offset[−][src]

fn vtable_trait_vptr_slot_offset<'tcx>(
    tcx: TyCtxt<'tcx>,
    key: (PolyTraitRef<'tcx>, PolyTraitRef<'tcx>)
) -> Option<usize>
Expand description

Find slot offset for trait vptr within vtable entries of another trait FIXME: This function is not yet used. Remove #[allow(dead_code)] when it’s used in upcoming pr.