Registry Mirror
Skip to content

Conversation

@Zalathar

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

BioTomateDE and others added 11 commits November 26, 2026 04:26
When switching from `refutable: bool` to an Exhaustive enum, the description of
which constructs are exhaustive was accidentally reversed.

The comment about returning an "otherwise" block is also out-of-date.
After the removal of `ensure_sufficient_stack`, this inner method no longer
needs to exist.
Adding the verb "lower" makes it clearer that this is where important
MIR-building work happens.
Calling this step "link" is a better fit for the existing code and comments.
This avoids the need to allocate a one-element vector in a few cases.
…l, r=notriddle

rustdoc: Fix `impl MyTrait for !` syntax highlighting

Rustdoc's HTML syntax highlighting does not render trait implementations for the never type `!` correctly because it think it's a macro.

## Example
https://doc.rust-lang.org/src/core/hash/mod.rs.html#871
<img alt="rustdoc example screenshot" src="https://github.com/user-attachments/assets/fb427962-6a52-40af-b8d1-fadf7d956ba0" />

## My Fix
I modified `src/librustdoc/html/highlight.rs`. It contains a `NON_MACRO_KEYWORDS` list which denotes keywords that should never be treated as a macro (even) when followed by a `!`. As far as I know, keywords are never valid macro identifiers, so I got rid of this list and the corresponding code. Maybe my thought process here was wrong, idk.

Alternatively, `NON_MACRO_KEYWORDS` could simply be extended to include the `for` keyword, which would fix also this issue (I think).
…buginfo-attribute, r=clarfonthey

Document the collapse_debuginfo attribute

Documents the `collapse_debuginfo` built-in attribute in `library/core/src/attribute_docs.rs`.

Part of rust-lang#157604
mir_build: Assorted small cleanups in match lowering

This PR cleans up a few small things that I noticed while looking through the match lowering code.

Each individual commit should hopefully be self-explanatory and uncontroversial.

There should be no change to compiler output.
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Nov 30, 2026
@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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels Nov 30, 2026
@Zalathar

Copy link
Copy Markdown
Member Author

Rollup of everything.

@bors r+ rollup=never p=5 force

@rust-bors

rust-bors Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 8590756 has been approved by Zalathar

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 30, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 30, 2026
Rollup of 3 pull requests

Successful merges:

 - #166538 (rustdoc: Fix `impl MyTrait for !` syntax highlighting)
 - #166702 (Document the collapse_debuginfo attribute)
 - #166776 (mir_build: Assorted small cleanups in match lowering)
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-aarch64-msvc-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
-rw-r--r-- 1 runneradmin 197121 312K Nov 30 01:00 cpu-test-aarch64-msvc-1.csv
-rw-r--r-- 1 runneradmin 197121 4.1M Nov 30 01:00 metrics-test-aarch64-msvc-1.json
-rw-r--r-- 1 runneradmin 197121    8 Nov 30 01:00 package-version

Attempting with retry: aws s3 cp --storage-class INTELLIGENT_TIERING --no-progress --recursive --acl public-read /tmp/tmp.UWlhZbDmWM s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\package-version to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/package-version An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\cpu-test-aarch64-msvc-1.csv to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/cpu-test-aarch64-msvc-1.csv An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\metrics-test-aarch64-msvc-1.json to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/metrics-test-aarch64-msvc-1.json An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
Command failed. Attempt 2/5:
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\package-version to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/package-version An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\cpu-test-aarch64-msvc-1.csv to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/cpu-test-aarch64-msvc-1.csv An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\metrics-test-aarch64-msvc-1.json to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/metrics-test-aarch64-msvc-1.json An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
Command failed. Attempt 3/5:
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\package-version to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/package-version An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\cpu-test-aarch64-msvc-1.csv to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/cpu-test-aarch64-msvc-1.csv An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\metrics-test-aarch64-msvc-1.json to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/metrics-test-aarch64-msvc-1.json An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
Command failed. Attempt 4/5:
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\package-version to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/package-version An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\cpu-test-aarch64-msvc-1.csv to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/cpu-test-aarch64-msvc-1.csv An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\metrics-test-aarch64-msvc-1.json to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/metrics-test-aarch64-msvc-1.json An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
Command failed. Attempt 5/5:
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\package-version to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/package-version An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\cpu-test-aarch64-msvc-1.csv to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/cpu-test-aarch64-msvc-1.csv An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
upload failed: ..\..\..\Users\RUNNER~1\AppData\Local\Temp\tmp.UWlhZbDmWM\metrics-test-aarch64-msvc-1.json to s3://rust-lang-ci2/rustc-builds/ff259af5d14580e10c30f93a372bc81bc907f097/metrics-test-aarch64-msvc-1.json An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.
The command has failed after 5 attempts.
##[error]Process completed with exit code 1.
Post job cleanup.
Post job cleanup.
[command]"C:\Program Files\Git\bin\git.exe" version

@rust-bors rust-bors Bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 30, 2026
@rust-bors

rust-bors Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

💔 Test for ff259af failed: CI. Failed job:

@Zalathar

Copy link
Copy Markdown
Member Author

Looks flaky. I’ll replace this with a larger rollup.

@Zalathar Zalathar closed this Nov 30, 2026
@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 30, 2026
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 30, 2026
@rust-bors

rust-bors Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved due to being closed.

@Zalathar
Zalathar deleted the rollup-Pw0gxYu branch November 30, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants