summary refs log tree commit diff
path: root/src/libsyntax/ast.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2019-11-09 21:34:12 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2019-11-17 22:37:10 +0100
commitefcb695f4c38f653d8f0adb70f94aa29328be679 (patch)
tree1699802ebabf1f2d26a3fe7fe9244d4382a54404 /src/libsyntax/ast.rs
parent1dd5133dce33fed1cffea9bc6fb6ee4f37dc7053 (diff)
downloadrust-efcb695f4c38f653d8f0adb70f94aa29328be679.tar.gz
rust-efcb695f4c38f653d8f0adb70f94aa29328be679.zip
Further HashStable_Generic derives.
Diffstat (limited to 'src/libsyntax/ast.rs')
-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 fb9c7e9bd56..19a8398ae78 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -1474,7 +1474,7 @@ pub enum LitFloatType {
 ///
 /// E.g., `"foo"`, `42`, `12.34`, or `bool`.
 // Clippy uses Hash and PartialEq
-#[derive(Clone, RustcEncodable, RustcDecodable, Debug, Hash, PartialEq)]
+#[derive(Clone, RustcEncodable, RustcDecodable, Debug, Hash, PartialEq, HashStable_Generic)]
 pub enum LitKind {
     /// A string literal (`"foo"`).
     Str(Symbol, StrStyle),