File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -1149,10 +1149,9 @@ fn diff_trait_impls<'tcx>(
11491149 let structural_peq_def_id = tcx. require_lang_item ( LangItem :: StructuralPeq , None ) ;
11501150 let structural_trait_def_ids = [ structural_peq_def_id, structural_teq_def_id] ;
11511151
1152- for ( old_impl_def_id, _) in tcx
1153- . all_trait_implementations ( id_mapping. get_old_crate ( ) )
1154- . iter ( )
1155- {
1152+ // FIXME(dario23)
1153+ let _ = id_mapping. get_old_crate ( ) ;
1154+ for old_impl_def_id in & [ ] {
11561155 let old_trait_def_id = tcx. impl_trait_ref ( * old_impl_def_id) . unwrap ( ) . def_id ;
11571156
11581157 if structural_trait_def_ids. contains ( & old_trait_def_id) {
@@ -1173,10 +1172,9 @@ fn diff_trait_impls<'tcx>(
11731172 }
11741173 }
11751174
1176- for ( new_impl_def_id, _) in tcx
1177- . all_trait_implementations ( id_mapping. get_new_crate ( ) )
1178- . iter ( )
1179- {
1175+ // FIXME(dario23)
1176+ let _ = id_mapping. get_new_crate ( ) ;
1177+ for new_impl_def_id in & [ ] {
11801178 let new_trait_def_id = tcx. impl_trait_ref ( * new_impl_def_id) . unwrap ( ) . def_id ;
11811179
11821180 if structural_trait_def_ids. contains ( & new_trait_def_id) {
You can’t perform that action at this time.
0 commit comments