Skip to content

Conversation

compiler-errors
Copy link
Member

@compiler-errors compiler-errors commented Oct 30, 2024

This attribute is not yet used, but keeping them around seems unnecessarily risky. I don't believe we should be constifying the Iterator trait until we've fully thought out how const closures are gonna work and have transitively consified all of its (implementation) dependencies.

cc @rust-lang/project-const-traits
r? libs

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Oct 30, 2024
@tgross35
Copy link
Contributor

Cc @fee1-dead who added this in #106541

@bors r+

@bors
Copy link
Collaborator

bors commented Oct 30, 2024

📌 Commit c62f097 has been approved by tgross35

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 30, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 31, 2024
…iaskrgr

Rollup of 3 pull requests

Successful merges:

 - rust-lang#132368 (Remove `do_not_const_check` from `Iterator` methods)
 - rust-lang#132373 (Make sure `type_param_predicates` resolves correctly for RPITIT)
 - rust-lang#132374 (Remove dead code stemming from the old effects desugaring)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 271a8c9 into rust-lang:master Oct 31, 2024
6 checks passed
@rustbot rustbot added this to the 1.84.0 milestone Oct 31, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Oct 31, 2024
Rollup merge of rust-lang#132368 - compiler-errors:do-not-iterator, r=tgross35

Remove `do_not_const_check` from `Iterator` methods

This attribute is not yet used, but keeping them around seems unnecessarily risky. I don't believe we should be constifying the `Iterator` trait until we've fully thought out how const closures are gonna work and have transitively consified all of its (implementation) dependencies.

cc `@rust-lang/project-const-traits`
r? libs
@fee1-dead fee1-dead added the PG-const-traits Project group: Const traits label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PG-const-traits Project group: Const traits S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants