Function rustc_monomorphize::polymorphize::should_polymorphize
source · fn should_polymorphize<'tcx>(
tcx: TyCtxt<'tcx>,
def_id: DefId,
instance: InstanceDef<'tcx>
) -> boolExpand description
Returns true if the instance should be polymorphized.