Module rustc_trait_selection::error_reporting::infer::nice_region_error
source Β· Re-exportsΒ§
pub use find_anon_type::find_anon_type;
ModulesΒ§
- different_
lifetimes πError Reporting for Anonymous Region Lifetime Errors where both the regions are anonymous. - Error Reporting for when the lifetime for a type doesnβt match the
implselected for a predicate to hold. - named_
anon_ πconflict Error Reporting for Anonymous Region Lifetime Errors where one region is named and the other is anonymous. - placeholder_
error π - placeholder_
relation π - static_
impl_ πtrait Error Reporting for static impl Traits. - Error Reporting for
implitems that do not match the obligations from theirtrait. - util πHelper functions corresponding to lifetime errors due to anonymous regions.
StructsΒ§
- Collect all
hir::Ty<'_>Spans for trait objects with an implicit lifetime. - Collect all the trait objects in a type that could have received an implicit
'staticlifetime.
FunctionsΒ§
- Currently only used in rustc_borrowck, probably should be removed in favour of public_errors::AddLifetimeParamsSuggestion