File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
1
# NOTE: Keep in sync with nightly date on README
2
2
[toolchain]
3
- channel = "nightly-2022-01-26 "
3
+ channel = "nightly-2022-01-27 "
4
4
components = ["llvm-tools-preview", "rustc-dev"]
Original file line number Diff line number Diff line change @@ -1163,11 +1163,9 @@ fn diff_trait_impls<'tcx>(
1163
1163
let structural_trait_def_ids = [ structural_peq_def_id, structural_teq_def_id] ;
1164
1164
1165
1165
let cstore = CStore :: from_tcx ( tcx) ;
1166
- for ( old_impl_def_id, _) in
1166
+ for ( old_trait_def_id , old_impl_def_id, _) in
1167
1167
cstore. trait_impls_in_crate_untracked ( id_mapping. get_old_crate ( ) )
1168
1168
{
1169
- let old_trait_def_id = tcx. impl_trait_ref ( old_impl_def_id) . unwrap ( ) . def_id ;
1170
-
1171
1169
if structural_trait_def_ids. contains ( & old_trait_def_id) {
1172
1170
continue ;
1173
1171
}
@@ -1186,11 +1184,9 @@ fn diff_trait_impls<'tcx>(
1186
1184
}
1187
1185
}
1188
1186
1189
- for ( new_impl_def_id, _) in
1187
+ for ( new_trait_def_id , new_impl_def_id, _) in
1190
1188
cstore. trait_impls_in_crate_untracked ( id_mapping. get_new_crate ( ) )
1191
1189
{
1192
- let new_trait_def_id = tcx. impl_trait_ref ( new_impl_def_id) . unwrap ( ) . def_id ;
1193
-
1194
1190
if structural_trait_def_ids. contains ( & new_trait_def_id) {
1195
1191
continue ;
1196
1192
}
You can’t perform that action at this time.
0 commit comments