rust/compiler/rustc_borrowck
Matthias Krüger eeed267215
Rollup merge of #96315 - SparrowLii:graph_lt, r=petrochenkov
Make the lifetime accurate which is used in the region constraints part

This PR fixes the FIXME about lifetime using in the region constraints part.
We cannot write `<'graph, 'tcx, D>` because the definition of `Successors<'0, '1, D>` requires `'1 : '0`.
We cannot add bound to `'graph` either because `'graph` is required to be an arbitrary value in the definition of `WithSuccessors`
So the most accurate way is to use `<'s, 'tcx, D>`.
cc `@Aaron1011` who added this FIXME in #85343
2022-04-22 18:56:26 +02:00
..
src Rollup merge of #96315 - SparrowLii:graph_lt, r=petrochenkov 2022-04-22 18:56:26 +02:00
Cargo.toml Update itertools 2022-03-04 11:54:28 -06:00