We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3c40a1 commit 68ed6ccCopy full SHA for 68ed6cc
clippy_lints/src/redundant_clone.rs
@@ -93,7 +93,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for RedundantClone {
93
.into_results_cursor(mir);
94
let mut possible_borrower = {
95
let mut vis = PossibleBorrowerVisitor::new(cx, mir);
96
- vis.visit_body(mir_read_only);
+ vis.visit_body(&mir_read_only);
97
vis.into_map(cx, maybe_storage_live_result)
98
};
99
0 commit comments