Function rustc_monomorphize::polymorphize::unused_generic_params
source ยท fn unused_generic_params<'tcx>(
tcx: TyCtxt<'tcx>,
instance: InstanceKind<'tcx>,
) -> UnusedGenericParams
Expand description
Determine which generic parameters are used by the instance.
Returns a bitset where bits representing unused parameters are set (is_empty
indicates all
parameters are used).