Auto merge of #5390 - phansch:rustupp, r=matthiaskrgr

Rustup to https://github.com/rust-lang/rust/pull/70449

cc https://github.com/rust-lang/rust/pull/70449

changelog: none
This commit is contained in:
bors 2020-03-30 07:31:25 +00:00
commit 0254c421f9

View file

@ -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)
};