Module rustc_borrowck::borrowck::gather_loans::restrictions [−][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?
Computes the restrictions that result from a borrow.
Re-exports
use borrowck::*; |
use rustc::middle::expr_use_visitor as euv; |
use rustc::middle::mem_categorization as mc; |
use rustc::middle::mem_categorization::Categorization; |
use rustc::ty; |
use syntax_pos::Span; |
use borrowck::ToInteriorKind; |
use std::rc::Rc; |
Structs
RestrictionsContext |
[ Experimental ]
|
Enums
RestrictionResult |
[ Experimental ]
|
Functions
compute_restrictions |
[ Experimental ]
|