Function rustc_mir::util::suggest_ref_mut [−][src]
pub fn suggest_ref_mut<'cx, 'gcx, 'tcx>(
tcx: TyCtxt<'cx, 'gcx, 'tcx>,
pattern_span: Span
) -> Option<(Span, String)>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
If possible, suggest replacing ref
with ref mut
.