Module rustc_borrowck::borrowck::gather_loans[][src]

🔬 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?

Re-exports

use borrowck::*;
use borrowck::move_data::MoveData;
use rustc::middle::expr_use_visitor as euv;
use rustc::middle::mem_categorization as mc;
use rustc::middle::mem_categorization::Categorization;
use rustc::middle::region;
use rustc::ty;
use rustc::ty::TyCtxt;
use syntax::ast;
use syntax_pos::Span;
use rustc::hir;
use self::restrictions::RestrictionResult;

Modules

gather_moves [
Experimental
]

Computes moves.

lifetime [
Experimental
]

This module implements the check that the lifetime of a borrow does not exceed the lifetime of the value being borrowed.

move_error [
Experimental
]
restrictions [
Experimental
]

Computes the restrictions that result from a borrow.

Structs

GatherLoanCtxt [
Experimental
]

Functions

check_aliasability [
Experimental
]

Implements the A-* rules in README.md.

check_mutability [
Experimental
]

Implements the M-* rules in README.md.

gather_loans_in_fn [
Experimental
]