rustc_middle::ty::instance

Function polymorphize

Source
fn polymorphize<'tcx>(
    tcx: TyCtxt<'tcx>,
    instance: InstanceKind<'tcx>,
    args: GenericArgsRef<'tcx>,
) -> GenericArgsRef<'tcx>