Function missing_field_error

Source
pub fn missing_field_error(name: &str, span: Span) -> Error
Expand description

Returns an error with a “missing required field” message.

The error will be spanned to span.