Further HashStable_Generic derives.
This commit is contained in:
parent
1dd5133dce
commit
efcb695f4c
4 changed files with 11 additions and 53 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue