fn hint_missing_borrow<'tcx>(
    span: Span,
    found: Ty<'tcx>,
    expected: Ty<'tcx>,
    found_node: Node<'_>,
    err: &mut Diagnostic
)
Expand description

Add a hint to add a missing borrow or remove an unnecessary one.