pub(crate) fn has_expected_num_generic_args(
    tcx: TyCtxt<'_>,
    trait_did: DefId,
    expected: usize
) -> bool
Expand description

expected here is the expected number of explicit generic arguments on the trait.