3
Make TAIT behave exactly like RPIT by oli-obk · Pull Request #96727 · rust-lang/...
source link: https://github.com/rust-lang/rust/pull/96727
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
fixes #96552
This makes type-alias-impl-trait behave like return-position-impl-trait. Unfortunately it also causes some cases to stop compiling due to "needing type annotations" and makes panicking cause fallback for the hidden type to ()
.
All of these are addressable, but we should probably address them for RPIT and TAIT together
r? @lcnr
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK