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