Conversation
Contributor
|
Member
|
I think this'll need a |
Member
Author
|
Ah, sorry, I didn't use the local However: 🤔 |
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)
See rust-lang#88545 for more details (cherry picked from commit 0bf16af)
Member
Author
Collaborator
|
📌 Commit 6387590 has been approved by |
Member
Author
|
@bors rollup=never |
Collaborator
|
⌛ Testing commit 6387590 with merge 3c690cc2be8f81721cfecf61fd5b692eff376fe2... |
Collaborator
|
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
Member
Author
|
I guess that failure is #88924. |
Contributor
Contributor
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)
(cherry picked from commit 214eef0)
(cherry picked from commit b6aa7e3)
(cherry picked from commit f26f1ed)
(cherry picked from commit 35370a7)
(cherry picked from commit 6070763)
(cherry picked from commit 66a1987)
Member
Author
|
I added additional backports, including that CI fix. |
Member
|
@bors r+ rollup=never |
Collaborator
|
📌 Commit ce1c9dc has been approved by |
Collaborator
Collaborator
|
☀️ Test successful - checks-actions |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
doc(hidden)on tuple variant fields rustdoc: Fix ICE withdoc(hidden)on tuple variant fields #88639dynsuggestion that used code as label Fix 2021dynsuggestion that used code as label #88657Also drop stage0 rustfmt, because that's only supposed to be used on master.
r? @Mark-Simulacrum