Skip to content

Commit 4e57532

Browse files
committed
WIP: Fix breakage due to rust-lang/rust#75008
See rust-lang/rust#75008
1 parent 913c6c3 commit 4e57532

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
@@ -1146,7 +1146,7 @@ fn diff_trait_impls<'tcx>(
11461146
let to_new = TranslationContext::target_new(tcx, id_mapping, false);
11471147
let to_old = TranslationContext::target_old(tcx, id_mapping, false);
11481148

1149-
for old_impl_def_id in tcx
1149+
for (old_impl_def_id, _) in tcx
11501150
.all_trait_implementations(id_mapping.get_old_crate())
11511151
.iter()
11521152
{
@@ -1174,7 +1174,7 @@ fn diff_trait_impls<'tcx>(
11741174
}
11751175
}
11761176

1177-
for new_impl_def_id in tcx
1177+
for (new_impl_def_id, _) in tcx
11781178
.all_trait_implementations(id_mapping.get_new_crate())
11791179
.iter()
11801180
{

0 commit comments

Comments
 (0)