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 #138310

Merged
merged 90 commits into from
Mar 10, 2025
Merged

Rollup of 8 pull requests #138310

merged 90 commits into from
Mar 10, 2025

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

Veykril and others added 30 commits February 27, 2025 17:34
- Adds dangling impl diagnostics
- Rename validation test from dangling_impl to dangling_iml_ref
Warn when the used toolchain looks too old for rust-analyzer
Support tuple struct patterns for expand_rest_pattern assist
Bump minimum supported toolchain to 1.82
…gling-dyn-diagnostic

feat: Add diagnostic for dangling dyn and impl
Twiddle with the `rustup` invocation on CI
Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the
prelude instead of importing or qualifying them.

These functions were added to all preludes in Rust 1.80.
Use `size_of` from the prelude instead of imported
The errors are silently dropped elsewhere, which make it really hard to debug issues due to dependency download failures.
Highlight unsafe operations as unsafe, not definitions
Improve keyword completion for 'let' and 'let mut'
Fix syntax highlightingg punct filtering ignoring mods
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) A-testsuite Area: The testsuite used to check the correctness of rustc A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic PG-exploit-mitigations Project group: Exploit mitigations 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-infra Relevant to the infrastructure 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 Mar 10, 2025
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=5

@bors
Copy link
Contributor

bors commented Mar 10, 2025

📌 Commit 44ec67f 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 Mar 10, 2025
@bors
Copy link
Contributor

bors commented Mar 10, 2025

⌛ Testing commit 44ec67f with merge 9fb94b3...

@bors
Copy link
Contributor

bors commented Mar 10, 2025

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

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Mar 10, 2025
@bors bors merged commit 9fb94b3 into rust-lang:master Mar 10, 2025
7 checks passed
@rustbot rustbot added this to the 1.87.0 milestone Mar 10, 2025
@rust-log-analyzer
Copy link
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
   Compiling clap v4.5.28
   Compiling build_helper v0.1.0 (/home/runner/work/rust/rust/src/build_helper)
   Compiling citool v0.1.0 (/home/runner/work/rust/rust/src/ci/citool)
    Finished `release` profile [optimized] target(s) in 33.77s
     Running `target/release/citool post-merge-analysis 2b285cd5f0877e30ad1d83e04f8cc46254e43391 9fb94b32df38073bf63d009df77ed10cb1c989d0`
error: unrecognized subcommand 'post-merge-analysis'

  tip: a similar subcommand exists: 'post-merge-report'

Usage: citool <COMMAND>

For more information, try '--help'.
##[error]Process completed with exit code 2.

@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#137931 Add remark for missing llvm-tools component re. `rustc_pr… d09b2298ec6133c71057d1e89e90578c089853bb (link)
#138138 Pass InferCtxt to InlineAsmCtxt to properly taint on er… 3207304069456481d4789046ba3cc3088b36e3ed (link)
#138223 Fix post-merge workflow de79dbc2d6b8e9ca4b2c8afbea0af2ab076a0905 (link)
#138268 Handle empty test suites in GitHub job summary report 60c64a8af53e18d20781681ba37084406dfdb622 (link)
#138278 Delegation: fix ICE with invalid MethodCall generation 5af4d4236b16bb94f369340424993d3231d2a493 (link)
#138281 Fix O(tests) stack usage in edition 2024 mergeable doctests 649251f9c28363437ad5ae1e5045bb112daaba20 (link)
#138305 Subtree update of rust-analyzer a5a46a7254c42dab4b7e6144dbb620c13b356710 (link)
#138306 Revert "Use workspace lints for crates in compiler/ #1380 7461f4fb7d430a4151a53c9075ccbb81f4924766 (link)

previous master: 2b285cd5f0

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 (9fb94b3): 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 (secondary -2.2%)

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)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.2% [-2.2%, -2.2%] 1
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: 779.823s -> 779.019s (-0.10%)
Artifact size: 365.18 MiB -> 365.14 MiB (-0.01%)

Kobzol added a commit to Kobzol/rust that referenced this pull request Mar 11, 2025
Fix post-merge workflow

The command is called `post-merge-report` not `post-merge-analysis`. See https://github.com/rust-lang/rust/blob/90384941aae4ea38de00e4702b50757e9b882a19/src/ci/citool/src/main.rs#L379

Noticed it failing in rust-lang#138310 (comment).

r? `@Kobzol` (or `@marcoieni)`
Kobzol added a commit to Kobzol/rust that referenced this pull request Mar 11, 2025
Fix post-merge workflow

The command is called `post-merge-report` not `post-merge-analysis`. See https://github.com/rust-lang/rust/blob/90384941aae4ea38de00e4702b50757e9b882a19/src/ci/citool/src/main.rs#L379

Noticed it failing in rust-lang#138310 (comment).

r? ``@Kobzol`` (or ``@marcoieni)``
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Mar 11, 2025
Rollup merge of rust-lang#138335 - jieyouxu:fix-citool, r=marcoieni

Fix post-merge workflow

The command is called `post-merge-report` not `post-merge-analysis`. See https://github.com/rust-lang/rust/blob/90384941aae4ea38de00e4702b50757e9b882a19/src/ci/citool/src/main.rs#L379

Noticed it failing in rust-lang#138310 (comment).

r? ``@Kobzol`` (or ``@marcoieni)``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-attributes Area: Attributes (`#[…]`, `#![…]`) A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) A-testsuite Area: The testsuite used to check the correctness of rustc A-translation Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic merged-by-bors This PR was explicitly merged by bors. PG-exploit-mitigations Project group: Exploit mitigations 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-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-infra Relevant to the infrastructure 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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.