Function rustc_hir_analysis::hir_ty_lowering::generics::generic_arg_mismatch_err
source ยท fn generic_arg_mismatch_err(
cx: &dyn HirTyLowerer<'_>,
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.