From 11ad720710ca0fefc7cad44994dd00143bc7a054 Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Tue, 17 Nov 2020 19:08:47 +0100 Subject: [PATCH] WIP: Fix breakage due to rust-lang/rust#75008 --- rust-toolchain | 2 +- src/traverse.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rust-toolchain b/rust-toolchain index ce197494..c89be302 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2020-07-28 +nightly-2020-08-07 diff --git a/src/traverse.rs b/src/traverse.rs index e5efe3c4..47713b56 100644 --- a/src/traverse.rs +++ b/src/traverse.rs @@ -1147,7 +1147,7 @@ fn diff_trait_impls<'tcx>( let to_new = TranslationContext::target_new(tcx, id_mapping, false); let to_old = TranslationContext::target_old(tcx, id_mapping, false); - for old_impl_def_id in tcx + for (old_impl_def_id, _) in tcx .all_trait_implementations(id_mapping.get_old_crate()) .iter() { @@ -1167,7 +1167,7 @@ fn diff_trait_impls<'tcx>( } } - for new_impl_def_id in tcx + for (new_impl_def_id, _) in tcx .all_trait_implementations(id_mapping.get_new_crate()) .iter() {