diff options
| author | wangxiangqing <wangxiangqing@bytedance.com> | 2019-10-13 12:59:23 +0800 |
|---|---|---|
| committer | wangxiangqing <wangxiangqing@bytedance.com> | 2019-10-13 13:07:32 +0800 |
| commit | e6ce3ef80aad6df7e9971d126bb22619ab34927e (patch) | |
| tree | ebfa87b7aac2380e52b5d6ef779e4a9ddaea23aa /src/libsyntax/parse/token.rs | |
| parent | 80b861bed17ba2ce001911f78a5316f56466642f (diff) | |
| download | rust-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.rs | 2 |
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, |
