rustc_monomorphize::collector

Function create_mono_items_for_vtable_methods

Source
fn create_mono_items_for_vtable_methods<'tcx>(
    tcx: TyCtxt<'tcx>,
    trait_ty: Ty<'tcx>,
    impl_ty: Ty<'tcx>,
    source: Span,
    output: &mut MonoItems<'tcx>,
)
Expand description

Creates a MonoItem for each method that is referenced by the vtable for the given trait/impl pair.