This repository was archived by the owner on Apr 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11# NOTE: Keep in sync with nightly date on README
22[toolchain]
3- channel = "nightly-2022-01-26 "
3+ channel = "nightly-2022-01-27 "
44components = ["llvm-tools-preview", "rustc-dev"]
Original file line number Diff line number Diff line change @@ -1163,11 +1163,9 @@ fn diff_trait_impls<'tcx>(
11631163 let structural_trait_def_ids = [ structural_peq_def_id, structural_teq_def_id] ;
11641164
11651165 let cstore = CStore :: from_tcx ( tcx) ;
1166- for ( old_impl_def_id, _) in
1166+ for ( old_trait_def_id , old_impl_def_id, _) in
11671167 cstore. trait_impls_in_crate_untracked ( id_mapping. get_old_crate ( ) )
11681168 {
1169- let old_trait_def_id = tcx. impl_trait_ref ( old_impl_def_id) . unwrap ( ) . def_id ;
1170-
11711169 if structural_trait_def_ids. contains ( & old_trait_def_id) {
11721170 continue ;
11731171 }
@@ -1186,11 +1184,9 @@ fn diff_trait_impls<'tcx>(
11861184 }
11871185 }
11881186
1189- for ( new_impl_def_id, _) in
1187+ for ( new_trait_def_id , new_impl_def_id, _) in
11901188 cstore. trait_impls_in_crate_untracked ( id_mapping. get_new_crate ( ) )
11911189 {
1192- let new_trait_def_id = tcx. impl_trait_ref ( new_impl_def_id) . unwrap ( ) . def_id ;
1193-
11941190 if structural_trait_def_ids. contains ( & new_trait_def_id) {
11951191 continue ;
11961192 }
You can’t perform that action at this time.
0 commit comments