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