Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditionally add stdlib APIs based on edition? #89084

Open
SUPERCILEX opened this issue Sep 19, 2021 · 2 comments
Open

Conditionally add stdlib APIs based on edition? #89084

SUPERCILEX opened this issue Sep 19, 2021 · 2 comments
Labels
T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@SUPERCILEX
Copy link
Contributor

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?

@the8472
Copy link
Member

the8472 commented Sep 19, 2021

An extension trait could be put in the prelude, which are edition-specific since #82217

@clubby789
Copy link
Contributor

@rustbot label +T-libs-api

@rustbot rustbot added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants