Module rustc::middle::resolve_lifetime [] [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?

Name resolution for lifetimes.

Name resolution for lifetimes follows MUCH simpler rules than the full resolve. For example, lifetime names are never exported or used between functions, and they operate in a purely top-down way. Therefore we break lifetime name resolution into a separate pass.

Structs

ResolveLifetimes [
Experimental
]

See NamedRegionMap.

Enums

LifetimeDefOrigin [
Experimental
]

The origin of a named lifetime definition.

Region [
Experimental
]
Set1 [
Experimental
]

A set containing, at most, one known element. If two distinct values are inserted into a set, then it becomes Many, which can be used to detect ambiguities.

Functions

provide [
Experimental
]

Type Definitions

ObjectLifetimeDefault [
Experimental
]