Skip to main content

unmapped_coerce_error

Function unmapped_coerce_error 

Source
pub(crate) fn unmapped_coerce_error(
    pat_type: &PatType,
    param_name: &str,
) -> Error
Expand description

The error for a per-parameter coerce on a type it has no conversion for (#2274), spanned on the parameter. A function-wide or feature-default coerce skips such a parameter; one that names the parameter would otherwise do nothing.