mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
a06c1ca53a
[single_use_lifetimes]: Account for lifetime bounds This PR makes `single_use_lifetimes` account for bounds on lifetime parameters, so a lifetime such as `'b` in `<'a, 'b: 'a>` is not treated as single-use just because its bound is stored separately from ordinary lifetime uses. Fixes rust-lang/rust#153836