Skip to content

[beta] backports - #88946

Merged
bors merged 16 commits into
rust-lang:betafrom
cuviper:beta-next
Sep 17, 2021
Merged

[beta] backports#88946
bors merged 16 commits into
rust-lang:betafrom
cuviper:beta-next

Conversation

@cuviper

@cuvipercuviper commented Sep 14, 2021

Copy link
Copy Markdown
Member

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

r? @Mark-Simulacrum

@rust-highfive

Copy link
Copy Markdown
Contributor

⚠️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-highfiverust-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
Copy Markdown
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

cuviper commented Sep 14, 2021

Copy link
Copy Markdown
MemberAuthor

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`

🤔

cuviperand 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
Copy Markdown
MemberAuthor

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

bors commented Sep 14, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 6387590 has been approved by Mark-Simulacrum

@borsbors 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
Copy Markdown
MemberAuthor

@bors rollup=never

@bors

bors commented Sep 15, 2021

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 6387590 with merge 3c690cc2be8f81721cfecf61fd5b692eff376fe2...

@bors

bors commented Sep 15, 2021

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors 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
Copy Markdown
MemberAuthor

I guess that failure is #88924.

@ehuss

Copy link
Copy Markdown
Contributor

@bors retry

#88924

@borsbors 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
Copy Markdown
Contributor

@bors r-

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

@borsbors 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
matthewjasperand 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
Copy Markdown
MemberAuthor

I added additional backports, including that CI fix.

@cuvipercuviper 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
Copy Markdown
Member

@bors r+ rollup=never

@bors

bors commented Sep 16, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit ce1c9dc has been approved by Mark-Simulacrum

@borsbors 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

bors commented Sep 17, 2021

Copy link
Copy Markdown
Collaborator

⌛ Testing commit ce1c9dc with merge deef866...

@bors

bors commented Sep 17, 2021

Copy link
Copy Markdown
Collaborator

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

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Sep 17, 2021
@bors
bors merged commit deef866 into rust-lang:betaSep 17, 2021
@rustbotrustbot 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.S-waiting-on-borsStatus: 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.

12 participants

@cuviper@rust-highfive@Mark-Simulacrum@bors@rust-log-analyzer@ehuss@rustbot@Emilgardis@camelid@dns2utf8@matthewjasper@pnkfelix