Module rustc::middle::borrowck[src]

See doc.rs for a thorough explanation of the borrow checker

Modules

check_loans
doc

The Borrow Checker

gather_loans
move_data

Data structures used for tracking moves. Please see the extensive comments in the section "Moves and initialization" and in doc.rs.

Structs

BckError
BorrowStats
BorrowckCtxt
Loan

Record of a loan that was issued.

LoanDataFlowOperator

Enums

AliasableViolationKind
LoanPath
LoanPathElem
MovedValueUseKind
PartialTotal
bckerr_code

Functions

check_crate
closure_to_block
opt_loan_path

Computes the LoanPath (if any) for a cmt. Note that this logic is somewhat duplicated in the method compute() found in gather_loans::restrictions, which allows it to share common loan path pieces as it traverses the CMT.

Type Definitions

BckResult
LoanDataFlow