-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
remove allow(incomplete_features) from std #80591
Conversation
This comment has been minimized.
This comment has been minimized.
3382703
to
6cf47ff
Compare
Ah, this is great, thanks. :) Do you know if the one in |
📌 Commit 6cf47ff has been approved by |
i think we can also remove in stdarch 😆 didn't want to touch a subrepo though |
⌛ Testing commit 6cf47ff with merge 6c3de8712845df75ed8ba8a17a0e840c27f8cdb4... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
looks spurious to me @bors r=RalfJung rollup |
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit 6cf47ff has been approved by |
@bors retry |
…laumeGomez Rollup of 5 pull requests Successful merges: - rust-lang#80580 (Add suggestion for "ignore" doc code block) - rust-lang#80591 (remove allow(incomplete_features) from std) - rust-lang#80617 (Detect invalid rustdoc test commands) - rust-lang#80628 (reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats)) - rust-lang#80646 (Clean up in `each_child_of_item`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
cc #80349 (comment)
I think it is theoretically ok to use incomplete features in the standard library or the compiler if we know that there is an already working subset and we explicitly document what we have to be careful about. Though at that point it is probably better to try and split the incomplete feature into two separate ones, similar to
min_specialization
.Will be interesting once
feature(const_evaluatable_checked)
works well enough to imo be used in the compiler but not yet well enough to be removed fromINCOMPLETE_FEATURES
.r? @RalfJung