rustc_borrowck::diagnostics::mutability_errors

Function suggest_ref_mut

source
fn suggest_ref_mut(tcx: TyCtxt<'_>, span: Span) -> Option<Span>
Expand description

If possible, suggest replacing ref with ref mut.