Module rustc_borrowck::borrowck::gather_loans::gather_moves [−][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 moves.
Re-exports
use borrowck::*; |
use borrowck::gather_loans::move_error::MovePlace; |
use borrowck::gather_loans::move_error::MoveError; |
use borrowck::gather_loans::move_error::MoveErrorCollector; |
use borrowck::move_data::*; |
use rustc::middle::expr_use_visitor as euv; |
use rustc::middle::mem_categorization as mc; |
use rustc::middle::mem_categorization::Categorization; |
use rustc::middle::mem_categorization::InteriorOffsetKind as Kind; |
use rustc::ty; |
use rustc::ty::Ty; |
use std::rc::Rc; |
use syntax::ast; |
use syntax_pos::Span; |
use rustc::hir::*; |
use rustc::hir::map::Node::*; |
Structs
GatherMoveInfo |
[ Experimental ]
|
Enums
PatternSource |
[ Experimental ] Represents the kind of pattern |
Functions
check_and_get_illegal_move_origin |
[ Experimental ]
|
gather_assignment |
[ Experimental ]
|
gather_decl |
[ Experimental ]
|
gather_move |
[ Experimental ]
|
gather_move_from_expr |
[ Experimental ]
|
gather_move_from_pat |
[ Experimental ]
|
get_pattern_source |
[ Experimental ] Analyzes the context where the pattern appears to determine the
kind of hint we want to give. In particular, if the pattern is in a |