Module rustc_borrowck::borrowck::check_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 self::UseError::*; |
use borrowck::*; |
use borrowck::InteriorKind::InteriorElement; |
use borrowck::InteriorKind::InteriorField; |
use rustc::middle::expr_use_visitor as euv; |
use rustc::middle::expr_use_visitor::MutateMode; |
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 rustc::ty::RegionKind; |
use syntax::ast; |
use syntax_pos::Span; |
use rustc::hir; |
use rustc_mir::util::borrowck_errors::BorrowckErrors; |
use rustc_mir::util::borrowck_errors::Origin; |
use std::rc::Rc; |
Structs
CheckLoanCtxt |
[ Experimental ]
|
Enums
UseError |
[ Experimental ]
|
Functions
check_loans |
[ Experimental ]
|
compatible_borrow_kinds |
[ Experimental ]
|
owned_ptr_base_path |
[ Experimental ] Returns the base of the leftmost dereference of an Unique in
|
owned_ptr_base_path_rc |
[ Experimental ] The equivalent of |