Function rustc_monomorphize::polymorphize::unused_generic_params
source · fn unused_generic_params<'tcx>(
tcx: TyCtxt<'tcx>,
instance: InstanceDef<'tcx>
) -> FiniteBitSet<u32>
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).