You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Conditionally add stdlib APIs based on edition? #89084
Hi,
There's been some discussion on this thread where it seems like the best solution would be adding methods to a stdlib API, but only having them become active in a new rust edition. Is this possible?
Activity
the8472 commentedon Sep 19, 2021
An extension trait could be put in the prelude, which are edition-specific since #82217
clubby789 commentedon Mar 30, 2023
@rustbot label +T-libs-api