Rollup merge of #43598 - ibabushkin:master, r=eddyb
Derive `Hash` on `AssociatedKind`. This is a trivial change useful in downstream code poking in rustc's innards, in particular the semver verification tool I'm currently working on. r? @eddyb
This commit is contained in:
commit
368f1a8e93
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue