mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
10f4ce324b
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` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |