rustc_trait_selection::error_reporting::infer::nice_region_error

Module static_impl_trait

Source
Expand description

Error Reporting for static impl Traits.

Structs§

HirTraitObjectVisitor
Collect all hir::Ty<'_> Spans for trait objects with an implicit lifetime.
TraitObjectVisitor
Collect all the trait objects in a type that could have received an implicit 'static lifetime.

Functions§

make_elided_region_spans_suggs 🔒
suggest_new_region_bound