Skip to main content

mismatch_pair

Function mismatch_pair 

Source
fn mismatch_pair(kind: &ValidationErrorKind) -> Option<(&str, &str)>
Expand description

Some((declared, expected)) if kind is a rewritable *Mismatch variant — the trailing identifier the user wrote, plus the one their file path requires.