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 Vec<Spanned<MonoItem<'tcx>>>,
)
Expand description

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