Function rustc_borrowck::borrowck::gather_loans::check_aliasability [−][src]
fn check_aliasability<'a, 'tcx>(
bccx: &BorrowckCtxt<'a, 'tcx>,
borrow_span: Span,
loan_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 A-* rules in README.md.