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>(
1149
1149
let structural_peq_def_id = tcx. require_lang_item ( LangItem :: StructuralPeq , None ) ;
1150
1150
let structural_trait_def_ids = [ structural_peq_def_id, structural_teq_def_id] ;
1151
1151
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 & [ ] {
1156
1155
let old_trait_def_id = tcx. impl_trait_ref ( * old_impl_def_id) . unwrap ( ) . def_id ;
1157
1156
1158
1157
if structural_trait_def_ids. contains ( & old_trait_def_id) {
@@ -1173,10 +1172,9 @@ fn diff_trait_impls<'tcx>(
1173
1172
}
1174
1173
}
1175
1174
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 & [ ] {
1180
1178
let new_trait_def_id = tcx. impl_trait_ref ( * new_impl_def_id) . unwrap ( ) . def_id ;
1181
1179
1182
1180
if structural_trait_def_ids. contains ( & new_trait_def_id) {
You can’t perform that action at this time.
0 commit comments