Skip to content

Rollup of 8 pull requests - #108339

Merged
bors merged 17 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup-4z02kas
Feb 22, 2023
Merged

Rollup of 8 pull requests#108339
bors merged 17 commits into
rust-lang:masterfrom
GuillaumeGomez:rollup-4z02kas

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

clubby789and others added 17 commits February 17, 2023 16:20
…_lifetimes"
Define the `named_static_lifetimes` lint
This lint will replace the existing hard-warning.
Replace the named static lifetime hard-warning with the new lint
Update the UI tests for the `named_static_lifetimes` lint
Remove the direct dependency on `rustc_lint_defs`
fix build
Signed-off-by: Zhi Qi <qizhi@pingcap.com>
use "UNUSED_LIFETIMES" instead
Signed-off-by: Zhi Qi <qizhi@pingcap.com>
update 1 test and fix typo
Signed-off-by: Zhi Qi <qizhi@pingcap.com>
update tests
Signed-off-by: Zhi Qi <qizhi@pingcap.com>
fix tests: add extra blank line
Signed-off-by: Zhi Qi <qizhi@pingcap.com>
This commit adds `--no-fail-fast` flag to each `cargo test`
command in each tool Step trait implementation.
Fixesrust-lang#108261
…fcx, r=lcnr
Move some `InferCtxt` methods to `EvalCtxt` in new solver
Moving towards eventually making the `InferCtxt` within `EvalCtxt` private, so that we make sure not to do anything strange in the solver. This doesn't finish this work yet, just gets it started.
r? ``@lcnr``
…compiler-errors
Fix ICE on type alias in recursion
Fixesrust-lang#108160
…bank
Convert a hard-warning about named static lifetimes into lint "unused_lifetimes"
Fixesrust-lang#96956.
Some changes are ported from rust-lang#98079, thanks to jeremydavis519.
r? `@estebank` `@petrochenkov`
Any feedback is appreciated!
## Actions
- [x] resolve conflicts
- [x] fix build
- [x] address review comments in last pr
- [x] update tests
…piler-errors
Fix overlapping spans in removing extra arguments
Fixesrust-lang#108225
Each span is already extended to include the previous comma, so extending to the *next* comma is unecessary and causes an ICE with assertions on.
``@rustbot`` label +A-diagnostics
…ts, r=compiler-errors
Add an InstCombine for redundant casts
`@rustbot` label +A-mir-opt
…-fail-fast, r=ozkanonur
no-fail-fast support for tool testsuites
~~This commit adds a change to pass "--no-fail-fast" flag to `cargo test` inside `tool::prepare_tool_cargo()` so there is no need to do it manually in each `Step` trait implementation in src/bootstrap/test.rs.~~
~~Also, removes the flag from test.rs where prepare_tool_cargo() is called so cargo doesn't complain because the flag has been passed twice.~~
This commit adds `--no-fail-fast` flag to each `cargo test`
command in each tool Step trait implementation (`miri`, `rustfmt` and `clippy`).
Fixesrust-lang#108261
…cated-attributes, r=notriddle
rustdoc: Fix duplicated attributes for first reexport
Fixesrust-lang#108281.
r? ``@notriddle``
@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) rollup A PR which is a rollup labels Feb 22, 2023
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=8

@bors

bors commented Feb 22, 2023

Copy link
Copy Markdown
Collaborator

📌 Commit 0d0de49 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 22, 2023
@bors

bors commented Feb 22, 2023

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 0d0de49 with merge 3b4d6e0...

@bors

bors commented Feb 22, 2023

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions
Approved by: GuillaumeGomez
Pushing 3b4d6e0 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Feb 22, 2023
@bors
bors merged commit 3b4d6e0 into rust-lang:masterFeb 22, 2023
@rustbotrustbot added this to the 1.69.0 milestone Feb 22, 2023
@rust-timer

Copy link
Copy Markdown
Collaborator

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (3b4d6e0): comparison URL.

Overall result: ❌✅ regressions and improvements - ACTION NEEDED

Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please open an issue or create a new PR that fixes the regressions, add a comment linking to the newly created issue or PR, and then add the perf-regression-triaged label to this PR.

@rustbot label: +perf-regression
cc @rust-lang/wg-compiler-performance

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

meanrangecount
Regressions ❌
(primary)
0.4%[0.3%, 0.6%]4
Regressions ❌
(secondary)
0.8%[0.7%, 0.9%]6
Improvements ✅
(primary)
-0.8%[-3.0%, -0.2%]8
Improvements ✅
(secondary)
-0.2%[-0.3%, -0.2%]2
All ❌✅ (primary)-0.4%[-3.0%, 0.6%]12

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.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
2.5%[2.1%, 3.4%]8
Improvements ✅
(primary)
-2.5%[-2.5%, -2.5%]1
Improvements ✅
(secondary)
-2.9%[-2.9%, -2.9%]1
All ❌✅ (primary)-2.5%[-2.5%, -2.5%]1

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.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-2.6%[-2.6%, -2.6%]1
Improvements ✅
(secondary)
--0
All ❌✅ (primary)-2.6%[-2.6%, -2.6%]1

@rustbotrustbot added the perf-regression Performance regression. label Feb 22, 2023
@pnkfelix

Copy link
Copy Markdown
Contributor
  • seems like a wash, in terms of mix of regressions and improvements. the one outlier was the 3% improvement to opt-full on cranelift-codegen.
  • the primary regressions were to ripgrep opt-full (0.59%), image opt-full (0.51%), cranelift-codegen check-full (0.42%), and cranelift-codegen check-incr-full (0.27%)
  • I do not think its worth trying to dissect the rollup at this point though. Marking as triaged.

@rustbot label: +perf-regression-triaged

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.perf-regressionPerformance regression.perf-regression-triagedThe performance regression has been triaged.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-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)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.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.WG-trait-system-refactorThe Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@GuillaumeGomez@bors@rust-timer@pnkfelix@rustbot@clubby789@saethlin@tmiasko@LittleFall@compiler-errors