about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-05-09 18:04:24 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-05-11 14:24:21 +0300
commit751ae5af1a561a93ce61e9971be4b254a57e6576 (patch)
tree52d932e129fa0abe476a885547270ac06e81c751 /src/libsyntax
parentf2834a403abe78f56d750a302807eab5206bb2c5 (diff)
downloadrust-751ae5af1a561a93ce61e9971be4b254a57e6576.tar.gz
rust-751ae5af1a561a93ce61e9971be4b254a57e6576.zip
Introduce `hir::Lit` not keeping the original token
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index 04bc146e145..a188f1a9368 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -1352,7 +1352,7 @@ pub enum StrStyle {
 }
 
 /// A literal.
-#[derive(Clone, RustcEncodable, RustcDecodable, Debug, Hash, PartialEq)]
+#[derive(Clone, RustcEncodable, RustcDecodable, Debug)]
 pub struct Lit {
     pub node: LitKind,
     pub token: token::Lit,