stabilized iterator_for_each (closes #42986) by budziq · Pull Request #44567 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation20 Commits1 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

@budziq

Also updated clippy and rls as these use the iterator_for_each

I've made my first PR's today so most likely I've done something wrong. Sorry about that!

@kennytm

Failed to start the CI. Please update src/Cargo.lock.

[00:00:49] error: the lock file needs to be updated but --frozen was passed to prevent this

@cuviper

This needs to wait for completed FCP, right?

@kennytm

@alexcrichton

Looks great to me, thanks @budziq! Looks like some stray submodule updates were included though?

@cuviper yeah for APIs we don't wait for the FCP to end, we just go ahead and throw them in once the team has signed off.

@budziq

Failed to start the CI. Please update src/Cargo.lock.

@kennytm Updated with Cargo.lock. Sorry about that!

Looks like some stray submodule updates were included though?

@alexcrichton The submodule updates were intentional due to rls and clipy depending on iterator_for_each. I've made PR's to their respective repos (rls, clippy) and updated the submodules to the PR commits according to this section in CONTRIBUTING.md

I might have misunderstood the instructions so I will be glad to fix any problems!

@oli-obk

I might have misunderstood the instructions so I will be glad to fix any problems!

You're the first person to follow said instructions. Thanks!

If any problems show up with the process it's with the instructions and not you ;) Travis seems to like it so far.

@alexcrichton

@bors

📌 Commit b0655b1 has been approved by alexcrichton

@alexcrichton

@bors: r-

Er actually, we prefer that our submodules are attached to long-lived commits which are at least somewhat relatively guaranteed to stick around into the future. In that sense the section of the contributing docs is wrong I believe in that we don't want to pin our submodules to PRs.

Does stabilization here cause build failures? If not can the submodule updates happen later on the master branch?

@budziq

Does stabilization here cause build failures?

The stabilization will cause build failure for rls and test failure in clippy. I believe that we have a chicken and egg problem here and the stabilization and submodule PR's should proceed in lockstep (submodules first to generate a long lived commit and shortly then the lang repo). But this is is actually a question to the maintainers 😄.

@alexcrichton

You can ignore clippy for now as we're not building it anyway, but for the rls we'll need to make a long-lived branch, which you can coordinate with @nrc for that

@alexcrichton

@nrc can you make a branch of the RLS for this?

@budziq

@alexcrichton

@bors

📌 Commit 8772227 has been approved by alexcrichton

@alexcrichton

alexcrichton added a commit to alexcrichton/rust that referenced this pull request

Sep 16, 2017

@alexcrichton

… r=alexcrichton

stabilized iterator_for_each (closes rust-lang#42986)

Also updated clippy and rls as these use the iterator_for_each

I've made my first PR's today so most likely I've done something wrong. Sorry about that!

frewsxcv added a commit to frewsxcv/rust that referenced this pull request

Sep 16, 2017

@frewsxcv

… r=alexcrichton

stabilized iterator_for_each (closes rust-lang#42986)

Also updated clippy and rls as these use the iterator_for_each

I've made my first PR's today so most likely I've done something wrong. Sorry about that!

@budziq

@alexcrichton

@bors

📌 Commit b715290 has been approved by alexcrichton

bors added a commit that referenced this pull request

Sep 17, 2017

@bors

Rollup of 19 pull requests

TimNN added a commit to TimNN/rust that referenced this pull request

Sep 17, 2017

@TimNN

… r=alexcrichton

stabilized iterator_for_each (closes rust-lang#42986)

Also updated clippy and rls as these use the iterator_for_each

I've made my first PR's today so most likely I've done something wrong. Sorry about that!

@TimNN TimNN mentioned this pull request

Sep 17, 2017

TimNN added a commit to TimNN/rust that referenced this pull request

Sep 17, 2017

@TimNN

… r=alexcrichton

stabilized iterator_for_each (closes rust-lang#42986)

Also updated clippy and rls as these use the iterator_for_each

I've made my first PR's today so most likely I've done something wrong. Sorry about that!

@TimNN TimNN mentioned this pull request

Sep 17, 2017

TimNN added a commit to TimNN/rust that referenced this pull request

Sep 17, 2017

@TimNN

… r=alexcrichton

stabilized iterator_for_each (closes rust-lang#42986)

Also updated clippy and rls as these use the iterator_for_each

I've made my first PR's today so most likely I've done something wrong. Sorry about that!

@TimNN TimNN mentioned this pull request

Sep 17, 2017

bors added a commit that referenced this pull request

Sep 17, 2017

@bors

Rollup of 17 pull requests

@budziq budziq deleted the stabilize_iterator_for_each branch

September 17, 2017 17:11

@dtolnay dtolnay added relnotes

Marks issues that should be documented in the release notes of the next release.

and removed S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Sep 21, 2017

dtolnay added a commit to dtolnay/rust that referenced this pull request

Sep 25, 2017

@dtolnay

This was referenced

Sep 25, 2017

dtolnay added a commit to dtolnay/rust that referenced this pull request

Sep 26, 2017

@dtolnay

bors added a commit that referenced this pull request

Sep 26, 2017

@bors

[beta] Backport accepted PRs to 1.21

Backport of:

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request

Sep 29, 2017

@Mark-Simulacrum

kennytm added a commit to kennytm/rust that referenced this pull request

Oct 5, 2017

@kennytm

Labels

beta-accepted

Accepted for backporting to the compiler in the beta channel.

relnotes

Marks issues that should be documented in the release notes of the next release.