Function rustc_borrowck::borrowck::gather_loans::check_mutability [−][src]
fn check_mutability<'a, 'tcx>(
bccx: &BorrowckCtxt<'a, 'tcx>,
borrow_span: Span,
cause: AliasableViolationKind,
cmt: &cmt_<'tcx>,
req_kind: BorrowKind
) -> Result<(), ()>
🔬 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?
Implements the M-* rules in README.md.