Skip to content

Commit

Permalink
Rely on drop to emit unclosed delims
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Mar 7, 2019
1 parent 6f0f2fc commit 551ea65
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libsyntax/parse/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 551ea65

Please sign in to comment.