Module rustc::middle::resolve_lifetime[src]

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.

Enums

DefRegion

Functions

early_bound_lifetimes
free_lifetimes

Gathers up and returns the names of any lifetimes that appear free in ty_params. Of course, right now, all lifetimes appear free, since we don't currently have any binders in type parameter declarations; just being forwards compatible with future extensions.

krate

Type Definitions

NamedRegionMap