Merge pull request #5795 from FabHof/BadInputError

Implement error messages for (parts of) BadInputError
This commit is contained in:
Anton-4 2023-09-15 20:56:28 +02:00 committed by GitHub
commit a564876631
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 84 additions and 21 deletions

View file

@ -49,7 +49,6 @@ impl Progress {
pub enum SyntaxError<'a> {
Unexpected(Region),
OutdentedTooFar,
TooManyLines,
Eof(Region),
InvalidPattern,
BadUtf8,
@ -266,10 +265,6 @@ pub enum BadInputError {
HasTab,
HasMisplacedCarriageReturn,
HasAsciiControl,
///
TooManyLines,
///
///
BadUtf8,
}