diff options
Diffstat (limited to 'src/libsyntax/parse/token.rs')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index c41b3aec09b..5a774718b7d 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -24,7 +24,7 @@ use std::oldmap::HashMap; #[auto_encode] #[auto_decode] -#[deriving_eq] +#[deriving(Eq)] pub enum binop { PLUS, MINUS, @@ -40,7 +40,7 @@ pub enum binop { #[auto_encode] #[auto_decode] -#[deriving_eq] +#[deriving(Eq)] pub enum Token { /* Expression-operator symbols. */ EQ, @@ -103,7 +103,7 @@ pub enum Token { #[auto_encode] #[auto_decode] -#[deriving_eq] +#[deriving(Eq)] /// For interpolation during macro expansion. pub enum nonterminal { nt_item(@ast::item), |
