Module rustc::infer::canonical::canonicalizer[][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?

This module contains the "canonicalizer" itself.

For an overview of what canonicaliation is and how it fits into rustc, check out the chapter in the rustc guide.

Structs

CanonicalizeRegionMode [
Experimental
]

If this flag is true, then all free regions will be replaced with a canonical var. This is used to make queries as generic as possible. For example, the query F: Foo<'static> would be canonicalized to F: Foo<'0>.

Canonicalizer [
Experimental
]