Module rustc_lint::impl_trait_overcaptures
source · Structs§
- Functional
Variances πComputes the variances of regions that appear in the type, but considering late-bound regions too, which donβt have their variance computed usually. - Lint for opaque types that will begin capturing in-scope but unmentioned lifetimes in edition 2024.
- Visit
Opaque πTypes
Enums§
- Param
Kind π
Statics§
- The
impl_trait_overcaptures
lint warns against cases where lifetime capture behavior will differ in edition 2024. - The
impl_trait_redundant_captures
lint warns against cases where use of the precise capturinguse<...>
syntax is not needed.