Module rustc::infer::outlives::bounds[][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?

Re-exports

use infer::InferCtxt;
use syntax::ast;
use syntax::codemap::Span;
use traits::FulfillmentContext;
use traits::TraitEngine;
use ty;
use ty::Ty;
use ty::TypeFoldable;
use ty::outlives::Component;
use ty::wf;

Enums

OutlivesBound [
Experimental
]

Outlives bounds are relationships between generic parameters, whether they both be regions ('a: 'b) or whether types are involved (T: 'a). These relationships can be extracted from the full set of predicates we understand or also from types (in which case they are called implied bounds). They are fed to the OutlivesEnv which in turn is supplied to the region checker and other parts of the inference system.

Functions

explicit_outlives_bounds [
Experimental
]