@@ -111,7 +111,7 @@ pub struct Definitions {
111111/// A unique identifier that we can use to lookup a definition
112112/// precisely. It combines the index of the definition's parent (if
113113/// any) with a `DisambiguatedDefPathData`.
114- #[ derive( Clone , PartialEq , Debug , Hash , RustcEncodable , RustcDecodable ) ]
114+ #[ derive( Clone , PartialEq , Debug , RustcEncodable , RustcDecodable ) ]
115115pub struct DefKey {
116116 /// The parent path.
117117 pub parent : Option < DefIndex > ,
@@ -162,13 +162,13 @@ impl DefKey {
162162/// between them. This introduces some artificial ordering dependency
163163/// but means that if you have, e.g., two impls for the same type in
164164/// the same module, they do get distinct `DefId`s.
165- #[ derive( Clone , PartialEq , Debug , Hash , RustcEncodable , RustcDecodable ) ]
165+ #[ derive( Clone , PartialEq , Debug , RustcEncodable , RustcDecodable ) ]
166166pub struct DisambiguatedDefPathData {
167167 pub data : DefPathData ,
168168 pub disambiguator : u32
169169}
170170
171- #[ derive( Clone , Debug , Hash , RustcEncodable , RustcDecodable ) ]
171+ #[ derive( Clone , Debug , RustcEncodable , RustcDecodable ) ]
172172pub struct DefPath {
173173 /// The path leading from the crate root to the item.
174174 pub data : Vec < DisambiguatedDefPathData > ,
0 commit comments