From 949466fbd757b9b3f728c03876739c0ee4271f4c Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Tue, 17 Nov 2020 19:08:47 +0100 Subject: [PATCH] Fix breakage due to rust-lang/rust#75008 See https://github.com/rust-lang/rust/pull/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 ac5989bd..c5c54cd9 100644 --- a/src/traverse.rs +++ b/src/traverse.rs @@ -1146,7 +1146,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() { @@ -1174,7 +1174,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() {