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.
- find_
anon_ type - mismatched_
static_ πlifetime - Error Reporting for when the lifetime for a type doesnβt match the
impl
selected 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.
- trait_
impl_ πdifference - Error Reporting for
impl
items that do not match the obligations from theirtrait
. - util π
- Helper functions corresponding to lifetime errors due to anonymous regions.
Structs§
- HirTrait
Object Visitor - Collect all
hir::Ty<'_>
Span
s for trait objects with an implicit lifetime. - Nice
Region Error - Trait
Object Visitor - Collect all the trait objects in a type that could have received an implicit
'static
lifetime.
Functions§
- find_
param_ with_ region - suggest_
adding_ lifetime_ params - Currently only used in rustc_borrowck, probably should be removed in favour of public_errors::AddLifetimeParamsSuggestion
- suggest_
new_ region_ bound