Module rustc_borrowck::diagnostics::conflict_errors
source ยท Structsยง
- Break
Finder ๐Look forbreak
expressions within any arbitrary expressions. Weโll do this to infer whether this is a case where the moved value would affect the exit of a loop, making it unsuitable for a.clone()
suggestion. - Condition
Visitor ๐Given a set of spans representing statements initializing the relevant binding, visit all the function expressions looking for branching code paths that do not initialize the binding. - Move
Site ๐ - Detect whether one of the provided spans is a statement nested within the top-most visited expr
Enumsยง
- Storage
Dead ๐OrDrop Which case a StorageDeadOrDrop is for.