Skip to content

Commit

Permalink
Auto merge of #5390 - phansch:rustupp, r=matthiaskrgr
Browse files Browse the repository at this point in the history
Rustup to rust-lang/rust#70449

cc rust-lang/rust#70449

changelog: none
  • Loading branch information
bors committed Mar 30, 2020
2 parents d3c40a1 + 68ed6cc commit 0254c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/redundant_clone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for RedundantClone {
.into_results_cursor(mir);
let mut possible_borrower = {
let mut vis = PossibleBorrowerVisitor::new(cx, mir);
vis.visit_body(mir_read_only);
vis.visit_body(&mir_read_only);
vis.into_map(cx, maybe_storage_live_result)
};

Expand Down

0 comments on commit 0254c42

Please sign in to comment.