mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-22 12:43:36 +00:00
f4a7ce997a
Enforce well formedness for type alias impl trait's hidden type fixes #84657 This was not an issue with return-position-impl-trait because the generic bounds of the function are the same as those of the opaque type, and the hidden type must already be well formed within the function. With type-alias-impl-trait the hidden type could be defined in a function that has *more* lifetime bounds than the type alias. This is fine, but the hidden type must still be well formed without those additional bounds. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |