Function clippy_utils::ty::assert_generic_args_match
source · fn assert_generic_args_match<'tcx>(
tcx: TyCtxt<'tcx>,
did: DefId,
args: &[GenericArg<'tcx>]
)
Expand description
Asserts that the given arguments match the generic parameters of the given item.