Skip to content

Commit

Permalink
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 19, 2020
1 parent ad9b9db commit 949466f
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 @@ -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()
{
Expand Down Expand Up @@ -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()
{
Expand Down

0 comments on commit 949466f

Please sign in to comment.