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

Unstabilize FusedIterator for Flatten since Flatten is unstable #49049

Merged
merged 1 commit into from
Mar 16, 2018

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Mar 15, 2018

PR #47463 made impl<I, U> FusedIterator for Flatten<I> stable but shouldn't have since Flatten is still unstable. This PR makes the impl unstable again.

r? @bluss
cc @alexcrichton

@Centril Centril added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Mar 15, 2018
@Centril Centril requested a review from bluss March 15, 2018 17:08
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 15, 2018
@hanna-kruppe
Copy link
Contributor

I'm confused. impls don't really have stability anyway (there are annotations but they're not enforced), and besides, if the type is unstable, how could the impl "leak" into stable code?

@Centril
Copy link
Contributor Author

Centril commented Mar 15, 2018

@rkruppe as I understand it, this PR won't really change anything, so it is mostly for consistency with #47463 (review) and documentation (so that users see that Flatten is unstable).

At some point maybe we should consider enforcing stability on impls...

@bluss
Copy link
Member

bluss commented Mar 15, 2018

@bors r+ rollup

Thanks, this makes sense even if it's just for docs

@bors
Copy link
Contributor

bors commented Mar 15, 2018

📌 Commit 6fbdaf4 has been approved by bluss

@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 Mar 15, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Mar 15, 2018
…r=bluss

Unstabilize FusedIterator for Flatten since Flatten is unstable

PR rust-lang#47463 made `impl<I, U> FusedIterator for Flatten<I>` stable but shouldn't have since `Flatten` is still unstable. This PR makes the impl unstable again.
bors added a commit that referenced this pull request Mar 16, 2018
Rollup of 17 pull requests

- Successful merges: #48706, #48875, #48892, #48922, #48957, #48959, #48961, #48965, #49007, #49024, #49042, #49050, #48853, #48990, #49037, #49049, #48972
- Failed merges:
@bors bors merged commit 6fbdaf4 into rust-lang:master Mar 16, 2018
@Centril Centril deleted the fix/flatten-fusediterator branch March 16, 2018 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants