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 7 pull requests #118434

Merged
merged 21 commits into from
Nov 29, 2023
Merged

Rollup of 7 pull requests #118434

merged 21 commits into from
Nov 29, 2023

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

compiler-errors and others added 21 commits November 27, 2023 01:02
It was merged by accident in a previous PR.
By moving most of `ItemLowerer::lower_assoc_item` into it. This is
similar to `LoweringContext::lower_foreign_item`.
…en_future}`.

Also remove some unnecessary slicing.
…, r=estebank

Dont suggest `!` for path in function call if it has generic args

Fixes rust-lang#118335
…ld-cleanup-stdlib, r=m-ou-se

Address unused tuple struct fields in the standard library
…compiler-errors

`rustc_ast_lowering` cleanups

Just some cleanups I found while looking through this code.

r? `@spastorino`
…rors

format_foreign.rs: unwrap return Option value for `fn position`, as it always returns Some

Trivial cleanup.

It will be nice to have way to run exhaustiveness analysis on similar cases to see dead code.
…p-for-shorthand, r=compiler-errors

Fix the issue of suggesting unwrap/expect for shorthand field

Fixes rust-lang#118145
Update cargo

7 commits in 9b13310ca596020a737aaa47daa4ed9ff8898a2f..26333c732095d207aa05932ce863d850fb309386
2023-11-24 16:20:51 +0000 to 2023-11-28 20:07:39 +0000
- docs: link to the packages lint table from the related workspace table (rust-lang/cargo#13057)
- Add more doc comments for gc changes. (rust-lang/cargo#13055)
- docs: Provide pointers for MSRV (rust-lang/cargo#13056)
- Fixed typo in SemVer Compatibility documentation page (rust-lang/cargo#13054)
- refactor: use custom error instead of anyhow (rust-lang/cargo#13050)
- review and remove ignored tests in rustfix (rust-lang/cargo#13047)
- docs: add doc comments for rustfix (rust-lang/cargo#13048)

r? ghost
…errors

Fix a typo in a `format_args!` note
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. 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 Nov 29, 2023
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=7

@bors
Copy link
Contributor

bors commented Nov 29, 2023

📌 Commit 0687dcb has been approved by matthiaskrgr

It is now in the queue for this repository.

@bors bors 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 Nov 29, 2023
@bors
Copy link
Contributor

bors commented Nov 29, 2023

⌛ Testing commit 0687dcb with merge e9b7bf0...

@bors
Copy link
Contributor

bors commented Nov 29, 2023

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing e9b7bf0 to master...

1 similar comment
@bors
Copy link
Contributor

bors commented Nov 29, 2023

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing e9b7bf0 to master...

@bors bors added merged-by-bors This PR was explicitly merged by bors. labels Nov 29, 2023
@bors bors merged commit e9b7bf0 into rust-lang:master Nov 29, 2023
12 checks passed
@rustbot rustbot added this to the 1.76.0 milestone Nov 29, 2023
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#118342 Dont suggest ! for path in function call if it has generi… f1da531a95bda5c001f426d72193a679b94bf2b0 (link)
#118383 Address unused tuple struct fields in the standard library dc527d93aeaed8c3de90e59a40cf0ad6345e1fd3 (link)
#118401 rustc_ast_lowering cleanups d06c2aa92ce9b18022e5a3852fef2732333045af (link)
#118409 format_foreign.rs: unwrap return Option value for `fn posit… ed6b31df619e18221d00535adebff165bd455c1d (link)
#118413 Fix the issue of suggesting unwrap/expect for shorthand fie… e9613d348e1e6a876e0094ec0b1feb20695d475a (link)
#118425 Update cargo ebfbde5d52540bc61faa936666d1a6f1b723ca29 (link)
#118429 Fix a typo in a format_args! note c9b0d408f5872fc944ee55719f508c6c0b1784c8 (link)

previous master: f440b5f0ea

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (e9b7bf0): comparison URL.

Overall result: ❌ regressions - no action needed

@rustbot label: -perf-regression

Instruction count

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

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
1.7% [1.7%, 1.7%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

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.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
2.8% [1.1%, 4.5%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-4.0% [-4.2%, -3.8%] 2
All ❌✅ (primary) - - 0

Cycles

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

Binary size

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

Bootstrap: 674.352s -> 673.972s (-0.06%)
Artifact size: 313.40 MiB -> 313.37 MiB (-0.01%)

@matthiaskrgr matthiaskrgr deleted the rollup-k1upt8b branch March 16, 2024 18:19
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. 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.