Skip to content

Commit 21c72b6

Browse files
committedMay 3, 2020
Update clippy lint
1 parent 1e701e5 commit 21c72b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/tools/clippy/clippy_lints/src/redundant_clone.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ struct PossibleBorrowerMap<'a, 'tcx> {
591591
impl PossibleBorrowerMap<'_, '_> {
592592
/// Returns true if the set of borrowers of `borrowed` living at `at` matches with `borrowers`.
593593
fn only_borrowers(&mut self, borrowers: &[mir::Local], borrowed: mir::Local, at: mir::Location) -> bool {
594-
self.maybe_live.seek_after(at);
594+
self.maybe_live.seek_after_primary_effect(at);
595595

596596
self.bitset.0.clear();
597597
let maybe_live = &mut self.maybe_live;

0 commit comments

Comments
 (0)
Please sign in to comment.