Skip to content

Commit 266a300

Browse files
committed
WIP: Fix breakage due to rust-lang/rust#75008
See rust-lang/rust#75008
1 parent f8f4174 commit 266a300

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2020-07-28
1+
nightly-2020-08-07

src/traverse.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ fn diff_trait_impls<'tcx>(
11471147
let to_new = TranslationContext::target_new(tcx, id_mapping, false);
11481148
let to_old = TranslationContext::target_old(tcx, id_mapping, false);
11491149

1150-
for old_impl_def_id in tcx
1150+
for (old_impl_def_id, _) in tcx
11511151
.all_trait_implementations(id_mapping.get_old_crate())
11521152
.iter()
11531153
{
@@ -1167,7 +1167,7 @@ fn diff_trait_impls<'tcx>(
11671167
}
11681168
}
11691169

1170-
for new_impl_def_id in tcx
1170+
for (new_impl_def_id, _) in tcx
11711171
.all_trait_implementations(id_mapping.get_new_crate())
11721172
.iter()
11731173
{

0 commit comments

Comments
 (0)