about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
diff options
context:
space:
mode:
authorwangxiangqing <wangxiangqing@bytedance.com>2019-10-13 12:59:23 +0800
committerwangxiangqing <wangxiangqing@bytedance.com>2019-10-13 13:07:32 +0800
commite6ce3ef80aad6df7e9971d126bb22619ab34927e (patch)
treeebfa87b7aac2380e52b5d6ef779e4a9ddaea23aa /src/libsyntax/parse/token.rs
parent80b861bed17ba2ce001911f78a5316f56466642f (diff)
downloadrust-e6ce3ef80aad6df7e9971d126bb22619ab34927e.tar.gz
rust-e6ce3ef80aad6df7e9971d126bb22619ab34927e.zip
Collect occurrences of for mismatched braces diagnostic
Change-Id: I20ba0b62308370ee961141fa1aefc4b9c9f0cb3a
Diffstat (limited to 'src/libsyntax/parse/token.rs')
-rw-r--r--src/libsyntax/parse/token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index fd78a2bd534..6038bcae5ae 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -36,7 +36,7 @@ pub enum BinOpToken {
 }
 
 /// A delimiter token.
-#[derive(Clone, PartialEq, RustcEncodable, RustcDecodable, Hash, Debug, Copy)]
+#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug, Copy)]
 pub enum DelimToken {
     /// A round parenthesis (i.e., `(` or `)`).
     Paren,