Derive Hash
on AssociatedKind
.
This is a trivial change useful in downstream code poking in rustc's innards.
This commit is contained in:
parent
e772c28d2e
commit
1b831cf54e
@ -174,7 +174,7 @@ pub struct AssociatedItem {
|
||||
pub method_has_self_argument: bool,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Debug, RustcEncodable, RustcDecodable)]
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Debug, Hash, RustcEncodable, RustcDecodable)]
|
||||
pub enum AssociatedKind {
|
||||
Const,
|
||||
Method,
|
||||
|
Loading…
Reference in New Issue
Block a user