Module rustc_data_structures::obligation_forest[][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?

The ObligationForest is a utility data structure used in trait matching to track the set of outstanding obligations (those not yet resolved to success or error). It also tracks the "backtrace" of each pending obligation (why we are trying to figure this out in the first place). See README.md for a general overview of how to use this class.

Modules

node_index [
Experimental
]

Structs

Error [
Experimental
]
GetObligation [
Experimental
]
Node [
Experimental
]
ObligationForest [
Experimental
]
Outcome [
Experimental
]

Enums

NodeState [
Experimental
]

The state of one node in some tree within the forest. This represents the current state of processing for the obligation (of type O) associated with this node.

ProcessResult [
Experimental
]

The result type used by process_obligation.

Traits

ForestObligation [
Experimental
]
ObligationProcessor [
Experimental
]