Tweak impossible pattern error messages

This commit is contained in:
Max Brunsfeld 2020-08-20 13:24:42 -07:00
parent 4301110c12
commit 9daec9cb22
10 changed files with 19 additions and 17 deletions

View file

@ -70,7 +70,7 @@ impl<'a> From<QueryError> for Error {
"Query error on line {}. Invalid syntax:\n{}",
row, l
)),
QueryError::Pattern(row, l) => Error::new(format!(
QueryError::Structure(row, l) => Error::new(format!(
"Query error on line {}. Impossible pattern:\n{}",
row, l
)),