Rely on drop to emit unclosed delims
This commit is contained in:
parent
6f0f2fc6d6
commit
551ea65c87
1 changed files with 0 additions and 1 deletions
|
@ -784,7 +784,6 @@ impl<'a> Parser<'a> {
|
|||
// leave it in the input
|
||||
Ok(false)
|
||||
} else if self.last_unexpected_token_span == Some(self.span) {
|
||||
emit_unclosed_delims(&self.unclosed_delims, self.diagnostic());
|
||||
FatalError.raise();
|
||||
} else {
|
||||
let mut expected = edible.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue