[−][src]Function rustc_mir::monomorphize::polymorphize::mark_used_by_predicates

pub(in monomorphize::polymorphize) fn mark_used_by_predicates<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
    unused_parameters: &mut FiniteBitSet<u32>
)

Search the predicates on used generic parameters for any unused generic parameters, and mark those as used.