Skip to content

Commit b15bcca

Browse files
Fix some rebasing fallout.
1 parent c9ab68c commit b15bcca

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/librustc/middle/exported_symbols.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ pub fn metadata_symbol_name(tcx: ty::TyCtxt) -> String {
112112
tcx.crate_disambiguator(LOCAL_CRATE).to_fingerprint().to_hex())
113113
}
114114

115-
impl<'gcx> HashStable<StableHashingContext<'gcx>> for ExportedSymbol<'gcx> {
115+
impl<'a, 'gcx> HashStable<StableHashingContext<'a>> for ExportedSymbol<'gcx> {
116116
fn hash_stable<W: StableHasherResult>(&self,
117-
hcx: &mut StableHashingContext<'gcx>,
117+
hcx: &mut StableHashingContext<'a>,
118118
hasher: &mut StableHasher<W>) {
119119
mem::discriminant(self).hash_stable(hcx, hasher);
120120
match *self {

src/librustc_trans/back/symbol_export.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ use rustc::ty::subst::Substs;
2424
use rustc::util::nodemap::{FxHashMap, DefIdMap};
2525
use rustc_allocator::ALLOCATOR_METHODS;
2626
use rustc_data_structures::indexed_vec::IndexVec;
27-
use syntax::attr;
2827
use std::collections::hash_map::Entry::*;
2928

3029
pub type ExportedSymbols = FxHashMap<

0 commit comments

Comments
 (0)