Module rustc_borrowck::borrowck::gather_loans::lifetime [−][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?
This module implements the check that the lifetime of a borrow does not exceed the lifetime of the value being borrowed.
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::middle::region; |
use rustc::ty; |
use syntax::ast; |
use syntax_pos::Span; |
Structs
GuaranteeLifetimeContext |
[ Experimental ]
|
Functions
guarantee_lifetime |
[ Experimental ] Reports error if |
Type Definitions
R |
[ Experimental ]
|