@@ -106,6 +106,7 @@ provide! { <'tcx> tcx, def_id, cdata
106106 closure_type => { cdata. closure_ty( def_id. index, tcx) }
107107 inherent_impls => { Rc :: new( cdata. get_inherent_implementations_for_type( def_id. index) ) }
108108 is_foreign_item => { cdata. is_foreign_item( def_id. index) }
109+ is_default_impl => { cdata. is_default_impl( def_id. index) }
109110 describe_def => { cdata. get_def( def_id. index) }
110111 def_span => { cdata. get_span( def_id. index, & tcx. sess) }
111112 stability => { cdata. get_stability( def_id. index) }
@@ -176,11 +177,6 @@ impl CrateStore for cstore::CStore {
176177 self . get_crate_data ( did. krate ) . is_const_fn ( did. index )
177178 }
178179
179- fn is_default_impl ( & self , impl_did : DefId ) -> bool {
180- self . dep_graph . read ( DepNode :: MetaData ( impl_did) ) ;
181- self . get_crate_data ( impl_did. krate ) . is_default_impl ( impl_did. index )
182- }
183-
184180 fn is_statically_included_foreign_item ( & self , def_id : DefId ) -> bool
185181 {
186182 self . do_is_statically_included_foreign_item ( def_id)
@@ -403,7 +399,7 @@ impl CrateStore for cstore::CStore {
403399 }
404400
405401 self . dep_graph . read ( DepNode :: MetaData ( def_id) ) ;
406- debug ! ( "item_body({}): inlining item" , tcx . item_path_str ( def_id) ) ;
402+ debug ! ( "item_body({:? }): inlining item" , def_id) ;
407403
408404 self . get_crate_data ( def_id. krate ) . item_body ( tcx, def_id. index )
409405 }
@@ -515,4 +511,4 @@ impl CrateStore for cstore::CStore {
515511 drop ( visible_parent_map) ;
516512 self . visible_parent_map . borrow ( )
517513 }
518- }
514+ }
0 commit comments