Remove Handler::cancel
This commit is contained in:
@@ -770,7 +770,7 @@ impl<'a> Parser<'a> {
|
||||
ex = ExprKind::Lit(literal);
|
||||
}
|
||||
Err(mut err) => {
|
||||
self.cancel(&mut err);
|
||||
err.cancel();
|
||||
return Err(self.expected_expression_found());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user