fix false negatives in explicit_outlives_requirements #54630
Labels
A-lifetimes
Area: Lifetimes / regions
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
L-explicit_outlives_requirements
Lint: explicit_outlives_requirements
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Niko Matsakis points out that the explicit_outlives_requirements lint (from #53013, expected to land soon) should also fire on lifetime-outlives bounds and associated-type-outlives bounds, as illustrated by the following two examples:
The text was updated successfully, but these errors were encountered: