Skip to content

Rollup of 9 pull requests - #100920

Merged
bors merged 25 commits into
rust-lang:masterfrom
Dylan-DPC:rollup-vlcw3sr
Aug 23, 2022
Merged

Rollup of 9 pull requests#100920
bors merged 25 commits into
rust-lang:masterfrom
Dylan-DPC:rollup-vlcw3sr

Conversation

@Dylan-DPC

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

compiler-errorsand others added 25 commits August 9, 2022 07:04
FreeBSD and using system limit instead for others.
Because it's never used meaningfully.
Do not re-parse function signatures to suggest generics
This PR uses the existing resolution rib infrastructure to channel the correct span information to suggest generic parameters. This allows to avoid re-parsing a function's source code.
Drive-by cleanup: this removes useless `FnItemRibKind` from late resolution ribs. All the use cases are already covered by `ItemRibKind` and `AssocItemRibKind` which have more precise semantics.
…nxiyn
Extend comma suggestion to cases where fields arent missing
Fixesrust-lang#100300
InferCtxt tainted_by_errors_flag should be Option<ErrorGuaranteed>
Fixesrust-lang#100321.
Use Cell<Option<ErrorGuaranteed>> to guarantee that we emit an error when that flag is set.
… r=davidtwco
Migrate `rustc_plugin_impl` to `SessionDiagnostic`
Migration of the `rustc_plugin_impl` crate.
~Draft PR because it is blocked on rust-lang#100694 for `#[fatal(...)]` support~ (this has been merged, and I've changed over to `#[diag(...)]` now too), but I would also like to know if what I did with `LoadPluginError` is okay, because all it does is display the error message from `libloading` ([See conversation on zulip](https://rust-lang.zulipchat.com/#narrow/stream/147480-t-compiler.2Fwg-diagnostics/topic/.23100717.20diagnostic.20translation/near/294327843)). This crate is apparently for a deprecated feature which is used by servo, so I don't know how much this matters anyway.
…nexen
net listen backlog update, follow-up from rust-lang#97963.
FreeBSD and using system limit instead for others.
…fee1-dead
Fix rustc_parse_format precision & width spans
When a `precision`/`width` was `CountIsName - {:name$}` or `CountIs - {:10}` the `precision_span`/`width_span` was set to `None`
For `width` the name span in `CountIsName(_, name_span)` had its `.start` off by one
r? ``@fee1-dead`` / cc ``@PrestonFrom`` since this is similar to rust-lang#99987
…=davidtwco
Refactor query modifier parsing
Reduce redundancy and improve error spans.
…ylan-DPC
Fix typo in UnreachableProp
r? ``@Dylan-DPC``
…ovement, r=petrochenkov
Minor `ast::LitKind` improvements
r? `@petrochenkov`
@rustbotrustbot added A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Aug 23, 2022
@Dylan-DPC

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=5

@bors

bors commented Aug 23, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 28ead17 has been approved by Dylan-DPC

It is now in the queue for this repository.

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Aug 23, 2022
@bors

bors commented Aug 23, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 28ead17 with merge a1bea15...

@bors

bors commented Aug 23, 2022

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: Dylan-DPC
Pushing a1bea15 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Aug 23, 2022
@bors
bors merged commit a1bea15 into rust-lang:masterAug 23, 2022
@rustbotrustbot added this to the 1.65.0 milestone Aug 23, 2022
@rust-timer

Copy link
Copy Markdown
Collaborator

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (a1bea15): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean1rangecount2
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.1%[2.0%, 2.2%]2
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)--0

Cycles

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean1rangecount2
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-2.1%[-2.1%, -2.1%]1
Improvements ✅
(secondary)
-4.3%[-7.1%, -2.5%]4
All ❌✅ (primary)-2.1%[-2.1%, -2.1%]1

Footnotes

  1. the arithmetic mean of the percent change2

  2. number of relevant changes2

@Dylan-DPC
Dylan-DPC deleted the rollup-vlcw3sr branch August 24, 2022 05:34
@davidtwcodavidtwco removed the A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic label Oct 4, 2022
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.rollupA PR which is a rollupS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

14 participants

@Dylan-DPC@bors@rust-timer@davidtwco@rustbot@compiler-errors@Alexendoo@camsteffen@chenyukang@devnexen@petermused@cjgillot@Noratrieb@nnethercote