-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
[beta] backports #88946
Conversation
|
I think this'll need a |
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)
📌 Commit 6387590 has been approved by |
@bors rollup=never |
⌛ Testing commit 6387590 with merge 3c690cc2be8f81721cfecf61fd5b692eff376fe2... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
I guess that failure is #88924. |
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)
I added additional backports, including that CI fix. |
@bors r+ rollup=never |
📌 Commit ce1c9dc has been approved by |
☀️ Test successful - checks-actions |
doc(hidden)
on tuple variant fields rustdoc: Fix ICE withdoc(hidden)
on tuple variant fields #88639dyn
suggestion that used code as label Fix 2021dyn
suggestion that used code as label #88657Also drop stage0 rustfmt, because that's only supposed to be used on master.
r? @Mark-Simulacrum