-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Remove use of const traits (and feature(effects)) from stdlib
#126552
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
Conversation
|
r=me when ci is green Note for anyone whose nightly code has regressed because we removed const traits from libstdPlease pin your nightly version to |
This comment has been minimized.
This comment has been minimized.
|
Could also mark the features as incomplete now as then they won't be usable in libcore accidentally |
|
Yeah, good idea. Will require adding a bunch of |
|
@rustbot author |
|
☔ The latest upstream changes (presumably #116088) made this pull request unmergeable. Please resolve the merge conflicts. |
|
I made @rustbot ready |
This comment has been minimized.
This comment has been minimized.
|
r=me after making tests pass |
|
@rustbot author |
|
@bors r=compiler-errors |
|
Looks like the book uses effects in examples |
|
@bors r=compiler-errors |
The current uses are already unsound because they are using non-const impls in const contexts. We can reintroduce them by reverting the commit in this PR, after #120639 lands.
Also, make
effectsan incomplete feature.cc @rust-lang/project-const-traits
r? @compiler-errors