Skip to content
Permalink
Browse files

Rely on drop to emit unclosed delims

  • Loading branch information...
estebank committed Mar 7, 2019
1 parent 6f0f2fc commit 551ea65c87ef567cb22856a769df2a75f2cbb235
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/libsyntax/parse/parser.rs
@@ -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()

0 comments on commit 551ea65

Please sign in to comment.
You can’t perform that action at this time.