@@ -111,7 +111,7 @@ pub struct Definitions {
111
111
/// A unique identifier that we can use to lookup a definition
112
112
/// precisely. It combines the index of the definition's parent (if
113
113
/// any) with a `DisambiguatedDefPathData`.
114
- #[ derive( Clone , PartialEq , Debug , Hash , RustcEncodable , RustcDecodable ) ]
114
+ #[ derive( Clone , PartialEq , Debug , RustcEncodable , RustcDecodable ) ]
115
115
pub struct DefKey {
116
116
/// The parent path.
117
117
pub parent : Option < DefIndex > ,
@@ -162,13 +162,13 @@ impl DefKey {
162
162
/// between them. This introduces some artificial ordering dependency
163
163
/// but means that if you have, e.g., two impls for the same type in
164
164
/// the same module, they do get distinct `DefId`s.
165
- #[ derive( Clone , PartialEq , Debug , Hash , RustcEncodable , RustcDecodable ) ]
165
+ #[ derive( Clone , PartialEq , Debug , RustcEncodable , RustcDecodable ) ]
166
166
pub struct DisambiguatedDefPathData {
167
167
pub data : DefPathData ,
168
168
pub disambiguator : u32
169
169
}
170
170
171
- #[ derive( Clone , Debug , Hash , RustcEncodable , RustcDecodable ) ]
171
+ #[ derive( Clone , Debug , RustcEncodable , RustcDecodable ) ]
172
172
pub struct DefPath {
173
173
/// The path leading from the crate root to the item.
174
174
pub data : Vec < DisambiguatedDefPathData > ,
0 commit comments