@@ -172,7 +172,7 @@ pub trait CrateStore {
172172 fn stability ( & self , def : DefId ) -> Option < attr:: Stability > ;
173173 fn deprecation ( & self , def : DefId ) -> Option < attr:: Deprecation > ;
174174 fn visibility ( & self , def : DefId ) -> ty:: Visibility ;
175- fn visible_parent_map < ' a > ( & ' a self ) -> :: std:: cell:: RefMut < ' a , DefIdMap < DefId > > ;
175+ fn visible_parent_map < ' a > ( & ' a self ) -> :: std:: cell:: Ref < ' a , DefIdMap < DefId > > ;
176176 fn item_generics_cloned ( & self , def : DefId ) -> ty:: Generics ;
177177 fn item_attrs ( & self , def_id : DefId ) -> Vec < ast:: Attribute > ;
178178 fn fn_arg_names ( & self , did : DefId ) -> Vec < ast:: Name > ;
@@ -302,7 +302,7 @@ impl CrateStore for DummyCrateStore {
302302 fn stability ( & self , def : DefId ) -> Option < attr:: Stability > { bug ! ( "stability" ) }
303303 fn deprecation ( & self , def : DefId ) -> Option < attr:: Deprecation > { bug ! ( "deprecation" ) }
304304 fn visibility ( & self , def : DefId ) -> ty:: Visibility { bug ! ( "visibility" ) }
305- fn visible_parent_map < ' a > ( & ' a self ) -> :: std:: cell:: RefMut < ' a , DefIdMap < DefId > > {
305+ fn visible_parent_map < ' a > ( & ' a self ) -> :: std:: cell:: Ref < ' a , DefIdMap < DefId > > {
306306 bug ! ( "visible_parent_map" )
307307 }
308308 fn item_generics_cloned ( & self , def : DefId ) -> ty:: Generics
0 commit comments