Modules§
Structs§
- Collect all
hir::Ty<'_>
Span
s for trait objects with an implicit lifetime. - Collect all the trait objects in a type that could have received an implicit
'static
lifetime.
Functions§
- This function calls the
visit_ty
method for the parameters corresponding to the anonymous regions. Thenested_visitor.found_type
contains the anonymous type. - Currently only used in rustc_borrowck, probably should be removed in favour of public_errors::AddLifetimeParamsSuggestion