pub(crate) fn locate_validation(
kind: &ValidationErrorKind,
source: &str,
statement_offset: Option<usize>,
) -> Option<Range<usize>>Expand description
Locate the byte range of the declared identifier in a *Mismatch
validation error. Returns None for variants that don’t carry a
declared name we can rewrite.