File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -112,9 +112,9 @@ pub fn metadata_symbol_name(tcx: ty::TyCtxt) -> String {
112
112
tcx. crate_disambiguator( LOCAL_CRATE ) . to_fingerprint( ) . to_hex( ) )
113
113
}
114
114
115
- impl < ' gcx > HashStable < StableHashingContext < ' gcx > > for ExportedSymbol < ' gcx > {
115
+ impl < ' a , ' gcx > HashStable < StableHashingContext < ' a > > for ExportedSymbol < ' gcx > {
116
116
fn hash_stable < W : StableHasherResult > ( & self ,
117
- hcx : & mut StableHashingContext < ' gcx > ,
117
+ hcx : & mut StableHashingContext < ' a > ,
118
118
hasher : & mut StableHasher < W > ) {
119
119
mem:: discriminant ( self ) . hash_stable ( hcx, hasher) ;
120
120
match * self {
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ use rustc::ty::subst::Substs;
24
24
use rustc:: util:: nodemap:: { FxHashMap , DefIdMap } ;
25
25
use rustc_allocator:: ALLOCATOR_METHODS ;
26
26
use rustc_data_structures:: indexed_vec:: IndexVec ;
27
- use syntax:: attr;
28
27
use std:: collections:: hash_map:: Entry :: * ;
29
28
30
29
pub type ExportedSymbols = FxHashMap <
You can’t perform that action at this time.
0 commit comments