-
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
Rollup of 7 pull requests #97783
Rollup of 7 pull requests #97783
Conversation
Co-authored-by: Michael Goulet <michael@errs.io>
…=jsha Add empty impl blocks if they have documentation Fixes rust-lang#90866. The update for the test script is needed to count the number of impl blocks we have with only the struct. To be noted that with rust-lang#89676 merged, it wouldn't be needed (I don't know what is the status of it btw. cc ```@Mark-Simulacrum).``` It looks like this: ![Screenshot from 2021-11-14 16-51-28](https://user-images.githubusercontent.com/3050060/141689100-e57123c0-bf50-4c42-adf5-d991e169a0e4.png) cc ```@jyn514``` r? ```@camelid```
Fail gracefully when encountering an HRTB in APIT. Fixes rust-lang#96954 ~The first commit will be merged as part of rust-lang#97415
…h726 Do `suggest_await_before_try` with infer variables in self, and clean up binders Fixes rust-lang#97704 Also cleans up binders in this fn, since everything is a `Poly*` and we really shouldn't have stray escaping late-bound regions everywhere. That's why the function changed so much. This isn't necessary, so I can revert if necessary.
typo: `-Zcodegen-backend=llvm -Cpasses=list` should work now r? ```@bjorn3```
…compiler-errors Suggest adding `{}` for `'label: non_block_expr` Adds suggestions like this: ```text help: consider enclosing expression in a block | 3 | 'l {0}; | + + ``` inspired by rust-lang#48594 (comment) r? ``@compiler-errors``
use strict provenance APIs The stdlib was adjusted to avoid bare int2ptr casts, but recently some casts of that sort have sneaked back in. Let's fix that. :)
…crum Restore a test that was intended to test `as` cast to ptr This test was changed in rust-lang#61864, but the original bug rust-lang#46365 was about casts so I doubt the changed test still even tests what this was intended to test. Let's restore the original test.
@bors r+ rollup=never p=7 |
📌 Commit 1258fa9 has been approved by |
there's already another rollup in progress - #97781 |
(no worries i'll close that one) |
The job Click to see the possible cause of the failure (guessed by this bot)
|
mh spurious error that has shown up in other PRs as well |
@bors r+ |
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit 1258fa9 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (e70c60d): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
Successful merges:
suggest_await_before_try
with infer variables in self, and clean up binders #97721 (Dosuggest_await_before_try
with infer variables in self, and clean up binders)-Zcodegen-backend=llvm -Cpasses=list
should work now #97752 (typo:-Zcodegen-backend=llvm -Cpasses=list
should work now){}
for'label: non_block_expr
#97759 (Suggest adding{}
for'label: non_block_expr
)as
cast to ptr #97765 (Restore a test that was intended to testas
cast to ptr)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup