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.
fn assert_generic_args_match<'tcx>(
tcx: TyCtxt<'tcx>,
did: DefId,
args: &[GenericArg<'tcx>],
)
Asserts that the given arguments match the generic parameters of the given item.