make match exhaustive

This commit is contained in:
Skgland
2026-01-24 02:22:44 +01:00
committed by Bennet Bleßmann
parent 3343188756
commit 083546442d

View File

@@ -473,7 +473,9 @@ impl ParserError {
| ParserError::ParseBigInt(location)
| ParserError::UnexpectedChar(_, location) => Some(location.clone()),
ParserError::Utf8Error(location) => location.as_ref().cloned(),
_ => None,
ParserError::IO(_)
| ParserError::LexicalError(_)
| ParserError::InvalidSingleQuotedCharacter(_) => None,
}
}