Skip to content

Commit a465781

Browse files
authored
Merge pull request rust-lang#119 from JohnTitor/rustup
Rustup to the latest nightly
2 parents 81c26e0 + 504c234 commit a465781

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/traverse.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ fn diff_traits<'tcx>(
642642
);
643643

644644
diff_generics(changes, id_mapping, tcx, true, old_def_id, new_def_id);
645-
diff_method(changes, tcx, old_item, new_item);
645+
diff_method(changes, tcx, *old_item, *new_item);
646646
}
647647
(Some(old_item), None) => {
648648
let change_type = ChangeType::TraitItemRemoved {
@@ -1076,8 +1076,8 @@ fn diff_inherent_impls<'tcx>(
10761076
tcx,
10771077
orig_impl_def_id,
10781078
target_impl_def_id,
1079-
orig_assoc_item,
1080-
target_assoc_item,
1079+
*orig_assoc_item,
1080+
*target_assoc_item,
10811081
)
10821082
});
10831083

0 commit comments

Comments
 (0)