[][src]Module rustc_borrowck::borrowck::gather_loans::gather_moves

🔬 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.

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 match or nested within other patterns, we want to suggest a ref binding: