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

[beta] backports #88946

Merged
merged 16 commits into from
Sep 17, 2021
Merged

[beta] backports #88946

merged 16 commits into from
Sep 17, 2021

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Sep 14, 2021

Also drop stage0 rustfmt, because that's only supposed to be used on master.

r? @Mark-Simulacrum

@rust-highfive
Copy link
Collaborator

⚠️ Warning ⚠️

  • Pull requests are usually filed against the master branch for this repo, but this one is against beta. Please double check that you specified the right target!

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 14, 2021
@Mark-Simulacrum
Copy link
Member

I think this'll need a backport-of: none on the first commit, but CI will complain if necessary about that, I think.

@cuviper
Copy link
Member Author

cuviper commented Sep 14, 2021

Ah, sorry, I didn't use the local cherry-pick.sh at all, just git cherry-pick -x ... which has its own format.

However:

Run src/ci/scripts/verify-backported-commits.sh
  src/ci/scripts/verify-backported-commits.sh
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    CI_JOB_NAME: x86_64-gnu-tools
    SCCACHE_BUCKET: rust-lang-ci-sccache2
    TOOLSTATE_REPO: https://github.com/rust-lang-nursery/rust-toolstate
    CACHE_DOMAIN: ci-caches.rust-lang.org
    CI_ONLY_WHEN_SUBMODULES_CHANGED: 1
    IMAGE: x86_64-gnu-tools
fatal: unknown commit 53fd98ca776cb875bc9e5514f56b52eb74f9e7a9
All commits in `HEAD` are present in `master`

🤔

cuviper and others added 4 commits September 14, 2021 15:10
backport-of: nothing
this also renders them as `_`, which rustdoc previously did not.

(cherry picked from commit 4a915ac)
The arguments to `span_suggestion` were in the wrong order, so the error
looked like this:

    error[E0783]: trait objects without an explicit `dyn` are deprecated
      --> src/test/ui/editions/dyn-trait-sugg-2021.rs:10:5
       |
    10 |     Foo::hi(123);
       |     ^^^ help: <dyn Foo>: `use `dyn``

Now the error looks like this, as expected:

    error[E0783]: trait objects without an explicit `dyn` are deprecated
      --> src/test/ui/editions/dyn-trait-sugg-2021.rs:10:5
       |
    10 |     Foo::hi(123);
       |     ^^^ help: use `dyn`: `<dyn Foo>`

This issue was only present in the 2021 error; the 2018 lint was
correct.

(cherry picked from commit 486d79f)
@cuviper
Copy link
Member Author

cuviper commented Sep 14, 2021

I added backport-of: nothing on the new commit, and left the others alone since they were clean cherry-picks and shouldn't need a note. I also filed #88947 for the apparently-broken CI script.

@bors r=Mark-Simulacrum

@bors
Copy link
Contributor

bors commented Sep 14, 2021

📌 Commit 6387590 has been approved by Mark-Simulacrum

@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 Sep 14, 2021
@cuviper
Copy link
Member Author

cuviper commented Sep 14, 2021

@bors rollup=never

@bors
Copy link
Contributor

bors commented Sep 15, 2021

⌛ Testing commit 6387590 with merge 3c690cc2be8f81721cfecf61fd5b692eff376fe2...

@bors
Copy link
Contributor

bors commented Sep 15, 2021

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 15, 2021
@rust-log-analyzer

This comment has been minimized.

@cuviper
Copy link
Member Author

cuviper commented Sep 15, 2021

I guess that failure is #88924.

@ehuss
Copy link
Contributor

ehuss commented Sep 15, 2021

@bors retry

#88924

@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 Sep 15, 2021
@ehuss
Copy link
Contributor

ehuss commented Sep 16, 2021

@bors r-

I'm pretty sure this will fail without #88977.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 16, 2021
matthewjasper and others added 12 commits September 16, 2021 09:10
Each pattern in a match arm has its own copy of the match guard in MIR,
with its own temporary, so it has to be dropped before the the guards
are joined to the single copy of the arm.

(cherry picked from commit ad7f109)
This reverts commit d59b1f1.

(cherry picked from commit 2041fb1)
This reverts commit 5b4bc05.

(cherry picked from commit 5560f6d)
(cherry picked from commit b6aa7e3)
This reverts commit 059b68d.

Note that this was manually adjusted to retain some of the refactoring
introduced by commit 059b68d, so that it could
likewise retain the correction introduced in commit
5b4bc05

(cherry picked from commit 91feb76)
(cherry picked from commit f26f1ed)
(cherry picked from commit 6070763)
@cuviper
Copy link
Member Author

cuviper commented Sep 16, 2021

I added additional backports, including that CI fix.

@cuviper cuviper added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 16, 2021
@Mark-Simulacrum
Copy link
Member

@bors r+ rollup=never

@bors
Copy link
Contributor

bors commented Sep 16, 2021

📌 Commit ce1c9dc has been approved by Mark-Simulacrum

@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 Sep 16, 2021
@bors
Copy link
Contributor

bors commented Sep 17, 2021

⌛ Testing commit ce1c9dc with merge deef866...

@bors
Copy link
Contributor

bors commented Sep 17, 2021

☀️ Test successful - checks-actions
Approved by: Mark-Simulacrum
Pushing deef866 to beta...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 17, 2021
@bors bors merged commit deef866 into rust-lang:beta Sep 17, 2021
@rustbot rustbot added this to the 1.56.0 milestone Sep 17, 2021
@cuviper cuviper deleted the beta-next branch September 21, 2021 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.