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.
Re-exports
use fx::FxHashMap; |
use fx::FxHashSet; |
use std::cell::Cell; |
use std::collections::hash_map::Entry; |
use std::fmt::Debug; |
use std::hash; |
use std::marker::PhantomData; |
use self::node_index::NodeIndex; |
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 |
Traits
ForestObligation |
[ Experimental ]
|
ObligationProcessor |
[ Experimental ]
|