[−][src]Module rustc_resolve::late::lifetimes
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
| ElisionFailureInfo | |
| LifetimeContext | |
| NamedRegionMap | Maps the id of each lifetime reference to the lifetime decl that it corresponds to. |
| Original | |
| Shadower |
Enums
| Elide | |
| LifetimeUseSet | |
| Scope | |
| ShadowKind |
Constants
| ROOT_SCOPE |
Traits
| RegionExt |
Functions
| check_mixed_explicit_and_in_band_defs | |
| compute_object_lifetime_defaults | |
| extract_labels | |
| insert_late_bound_lifetimes | Detects late-bound lifetimes and inserts them into
|
| krate | |
| object_lifetime_defaults_for_item | Scan the bounds and where-clauses on parameters to extract bounds
of the form |
| original_label | |
| original_lifetime | |
| provide | |
| resolve_lifetimes | Computes the |
| shadower_label | |
| shadower_lifetime | |
| signal_shadowing_problem | |
| sub_items_have_self_param | In traits, there is an implicit |
Type Definitions
| ScopeRef |