Function rustc_hir_analysis::astconv::generics::generic_arg_mismatch_err
source · fn generic_arg_mismatch_err(
tcx: TyCtxt<'_>,
arg: &GenericArg<'_>,
param: &GenericParamDef,
possible_ordering_error: bool,
help: Option<String>
) -> ErrorGuaranteed
Expand description
Report an error that a generic argument did not match the generic parameter that was expected.