Skip to content

Commit

Permalink
WIP: Fix breakage due to rust-lang/rust#75008
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Nov 18, 2020
1 parent f8f4174 commit 266a300
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2020-07-28
nightly-2020-08-07
4 changes: 2 additions & 2 deletions src/traverse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand All @@ -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()
{
Expand Down

0 comments on commit 266a300

Please sign in to comment.