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

Rollup of 8 pull requests #91388

Merged
merged 17 commits into from
Nov 30, 2021
Merged

Rollup of 8 pull requests #91388

merged 17 commits into from
Nov 30, 2021

Conversation

JohnTitor
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

jackh726 and others added 17 commits November 25, 2021 21:16
The tests checks some pretty-printer output, but pretty-printers are not embedded on windows-gnu
Don't treat unnormalized function arguments as well-formed

Partial revert of rust-lang#88312

r? ``@pnkfelix``
cc ``@nikomatsakis``
…=wesleywiser

Refactor EmitterWriter::emit_suggestion_default

Makes progress towards rust-lang#89979

Split into 2 commits:
* the first commit is purely a refactor and I verified that `./x.py test src/test/ui --stage 1` and  `./x.py test src/test/rustdoc-ui --stage 1` continue to pass on this commit.
* ~~the second commit removes the empty trailing line from diff style suggestions.~~ - I discovered an issue with this so its just the refactor now.

r? diagnostics
…crum

tests: Ignore `test/debuginfo/rc_arc.rs` on windows-gnu

The tests checks some pretty-printer output, but pretty-printers are not embedded on windows-gnu.

Regressed in rust-lang#85448.
CTFE: support assert_zero_valid and assert_uninit_valid

This ensures the implementation of all three type-based assert_ intrinsics remains consistent in Miri.

`assert_inhabited` recently got stabilized in rust-lang#90896 (meaning stable `const fn` can call it), so do the same with these other intrinsics.

Cc ```@rust-lang/wg-const-eval```
Fix small typo

Fix a typo in code commenting!
`accross` -> `across`
…=lnicola

⬆️ rust-analyzer

r? ```@ghost```
…=cjgillot

Don't re-export `MirPass`

`rust-analyzer` wants to use the `rustc_const_eval` one by default, which is weird.

r? ``@cjgillot``
…=joshtriplett

Add `drop_while` as doc alias to `Iterator::skip_while`

`skip_while` is commonly referred to as `drop_while` in other languages (clojure/c++/haskell). This recently came up in [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/.E2.9C.94.20DropWhile/near/262203352) as well.

This pull request adds 'drop_while' as a doc-alias for 'skip_while'.

r? `@joshtriplett`
@rustbot rustbot added the rollup A PR which is a rollup label Nov 30, 2021
@JohnTitor
Copy link
Member Author

@bors r+ rollup=never p=8

@bors
Copy link
Contributor

bors commented Nov 30, 2021

📌 Commit 28176a4 has been approved by JohnTitor

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Nov 30, 2021
@bors
Copy link
Contributor

bors commented Nov 30, 2021

⌛ Testing commit 28176a4 with merge 1c02878...

@bors
Copy link
Contributor

bors commented Nov 30, 2021

☀️ Test successful - checks-actions
Approved by: JohnTitor
Pushing 1c02878 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 30, 2021
@bors bors merged commit 1c02878 into rust-lang:master Nov 30, 2021
@rustbot rustbot added this to the 1.59.0 milestone Nov 30, 2021
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (1c02878): comparison url.

Summary: This change led to large relevant improvements 🎉 in compiler performance.

  • Large improvement in instruction counts (up to -1.5% on full builds of futures)

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

@Mark-Simulacrum
Copy link
Member

Probably due to #91243, but not very clear.

@JohnTitor JohnTitor deleted the rollup-640o1e5 branch November 30, 2021 18:21
@JohnTitor
Copy link
Member Author

Probably due to #91243, but not very clear.

Yeah, the original PR, #88312, has some large perf-regressions so it should be related, I missed that. @Mark-Simulacrum Should I run perf-check to make sure it?

@Mark-Simulacrum
Copy link
Member

I don't think it's worth it for an improvement, so I wouldn't spend time on it.

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. rollup A PR which is a rollup 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.