rust/compiler/rustc_borrowck
bors 10f4ce324b Auto merge of #98279 - cjgillot:all-fresh-nofn, r=petrochenkov
Create elided lifetime parameters for function-like types

Split from https://github.com/rust-lang/rust/pull/97720

This PR refactor lifetime generic parameters in bare function types and parenthesized traits to introduce the additional required lifetimes as fresh parameters in a `for<>` bound.

This PR does the same to lifetimes appearing in closure signatures, and as-if introducing `for<>` bounds on closures (without the associated change in semantics).

r? `@petrochenkov`
2022-06-22 10:48:58 +00:00
..
src Auto merge of #98279 - cjgillot:all-fresh-nofn, r=petrochenkov 2022-06-22 10:48:58 +00:00
Cargo.toml Update itertools 2022-03-04 11:54:28 -06:00