@@ -742,7 +742,7 @@ impl<'tcx> Visitor<'tcx> for UsePlacementFinder {
742742}
743743
744744/// This thing walks the whole crate in DFS manner, visiting each item, resolving names as it goes.
745- impl < ' a , ' tcx , ' cl > Visitor < ' tcx > for Resolver < ' a , ' cl > {
745+ impl < ' a , ' tcx > Visitor < ' tcx > for Resolver < ' a > {
746746 fn visit_item ( & mut self , item : & ' tcx Item ) {
747747 self . resolve_item ( item) ;
748748 }
@@ -1476,7 +1476,7 @@ pub struct ExternPreludeEntry<'a> {
14761476/// The main resolver class.
14771477///
14781478/// This is the visitor that walks the whole crate.
1479- pub struct Resolver < ' a , ' b : ' a > {
1479+ pub struct Resolver < ' a > {
14801480 session : & ' a Session ,
14811481 cstore : & ' a CStore ,
14821482
@@ -1580,7 +1580,7 @@ pub struct Resolver<'a, 'b: 'a> {
15801580 arenas : & ' a ResolverArenas < ' a > ,
15811581 dummy_binding : & ' a NameBinding < ' a > ,
15821582
1583- crate_loader : & ' a mut CrateLoader < ' b > ,
1583+ crate_loader : & ' a mut CrateLoader < ' a > ,
15841584 macro_names : FxHashSet < Ident > ,
15851585 builtin_macros : FxHashMap < Name , & ' a NameBinding < ' a > > ,
15861586 macro_use_prelude : FxHashMap < Name , & ' a NameBinding < ' a > > ,
@@ -1654,7 +1654,7 @@ impl<'a> ResolverArenas<'a> {
16541654 }
16551655}
16561656
1657- impl < ' a , ' b : ' a , ' cl : ' b > ty:: DefIdTree for & ' a Resolver < ' b , ' cl > {
1657+ impl < ' a , ' b : ' a > ty:: DefIdTree for & ' a Resolver < ' b > {
16581658 fn parent ( self , id : DefId ) -> Option < DefId > {
16591659 match id. krate {
16601660 LOCAL_CRATE => self . definitions . def_key ( id. index ) . parent ,
@@ -1665,7 +1665,7 @@ impl<'a, 'b: 'a, 'cl: 'b> ty::DefIdTree for &'a Resolver<'b, 'cl> {
16651665
16661666/// This interface is used through the AST→HIR step, to embed full paths into the HIR. After that
16671667/// the resolver is no longer needed as all the relevant information is inline.
1668- impl < ' a , ' cl > hir:: lowering:: Resolver for Resolver < ' a , ' cl > {
1668+ impl < ' a > hir:: lowering:: Resolver for Resolver < ' a > {
16691669 fn resolve_hir_path (
16701670 & mut self ,
16711671 path : & ast:: Path ,
@@ -1711,7 +1711,7 @@ impl<'a, 'cl> hir::lowering::Resolver for Resolver<'a, 'cl> {
17111711 }
17121712}
17131713
1714- impl < ' a , ' crateloader > Resolver < ' a , ' crateloader > {
1714+ impl < ' a > Resolver < ' a > {
17151715 /// Rustdoc uses this to resolve things in a recoverable way. ResolutionError<'a>
17161716 /// isn't something that can be returned because it can't be made to live that long,
17171717 /// and also it's a private type. Fortunately rustdoc doesn't need to know the error,
@@ -1800,15 +1800,15 @@ impl<'a, 'crateloader> Resolver<'a, 'crateloader> {
18001800 }
18011801}
18021802
1803- impl < ' a , ' crateloader : ' a > Resolver < ' a , ' crateloader > {
1803+ impl < ' a > Resolver < ' a > {
18041804 pub fn new ( session : & ' a Session ,
18051805 cstore : & ' a CStore ,
18061806 krate : & Crate ,
18071807 crate_name : & str ,
18081808 make_glob_map : MakeGlobMap ,
1809- crate_loader : & ' a mut CrateLoader < ' crateloader > ,
1809+ crate_loader : & ' a mut CrateLoader < ' a > ,
18101810 arenas : & ' a ResolverArenas < ' a > )
1811- -> Resolver < ' a , ' crateloader > {
1811+ -> Resolver < ' a > {
18121812 let root_def_id = DefId :: local ( CRATE_DEF_INDEX ) ;
18131813 let root_module_kind = ModuleKind :: Def ( Def :: Mod ( root_def_id) , keywords:: Invalid . name ( ) ) ;
18141814 let graph_root = arenas. alloc_module ( ModuleData {
0 commit comments