Skip to content

Basic cleanup in rustc_transmute - #162607

Merged
rust-bors[bot] merged 4 commits into
rust-lang:mainfrom
joshlf:transmute-cleanup
Sep 11, 2026
Merged

Basic cleanup in rustc_transmute#162607
rust-bors[bot] merged 4 commits into
rust-lang:mainfrom
joshlf:transmute-cleanup

Conversation

@joshlf

@joshlf joshlf commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

The content of this PR was authored by an LLM.

r? @jswrenn

Explain the byte alphabet, padding, definition markers, and empty layouts.
Cover surviving and fully pruned alternatives, including nested sequences,
and replace obsolete visibility terminology.

Validation: ./x test compiler/rustc_transmute

Agent-Authored-By: AI agent acting on Josh Liebow-Feeser's behalf
Describe the query stages and deferred obligations, correct stale comments,
and exercise both validity settings in the powerset test. Add direct checks
for condition grouping, error selection, and quantifier short-circuiting.

Document the existing conditional behavior of Answer::or without changing it.

Validation: ./x test compiler/rustc_transmute

Agent-Authored-By: AI agent acting on Josh Liebow-Feeser's behalf
Specify interval-union inputs and output partitions and test overlaps,
boundaries, and coalescing. Mark DOT entry and accepting states distinctly,
log full graphs once per query, and omit the memoization cache from spans.

Validation: ./x test compiler/rustc_transmute
A manual bool identity query with RUSTC_LOG=rustc_transmute=debug confirmed
one source graph, one destination graph, and no cache dumps.

Agent-Authored-By: AI agent acting on Josh Liebow-Feeser's behalf
Use each YawningVoid type as a destination in its UI test instead of
repeating the zero-sized Void case. Equal-sized u128 sources prevent a
size mismatch from masking a failure to reject an uninhabited destination.
Update the copied explanations and regenerate the diagnostic snapshot.

Validation: ./x test tests/ui/transmutability

Agent-Authored-By: AI agent acting on Josh Liebow-Feeser's behalf
@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. labels Sep 10, 2026
@jswrenn

jswrenn commented Sep 10, 2026

Copy link
Copy Markdown
Member

@bors r+

@rust-bors

rust-bors Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

📌 Commit ac29954 has been approved by jswrenn

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 Sep 10, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Sep 10, 2026
Basic cleanup in `rustc_transmute`

The content of this PR was authored by an LLM.

r? @jswrenn
rust-bors Bot pushed a commit that referenced this pull request Sep 11, 2026
Rollup of 5 pull requests

Successful merges:

 - #162270 (Update `windows-bindgen` to 0.100.0)
 - #162492 (Revert "Rollup merge of #157518 - CAD97:xdg_basedir, r=aapoalas")
 - #162607 (Basic cleanup in `rustc_transmute`)
 - #162514 (Simplify diagnostic levels)
 - #162613 (iter::repeat_with, iter::successors, iter::from_fn added as diagnostic items)
rust-bors Bot pushed a commit that referenced this pull request Sep 11, 2026
Rollup of 10 pull requests

Successful merges:

 - #162270 (Update `windows-bindgen` to 0.100.0)
 - #162492 (Revert "Rollup merge of #157518 - CAD97:xdg_basedir, r=aapoalas")
 - #162607 (Basic cleanup in `rustc_transmute`)
 - #162619 (Add test for the missing Clone requirement for Cow slices)
 - #162172 (mention the opaque when its hidden type cannot be inferred)
 - #162514 (Simplify diagnostic levels)
 - #162546 (Use lld by default on `loongarch64-unknown-linux-gnu` nightly)
 - #162564 (yeet StabilityLevel)
 - #162613 (iter::repeat_with, iter::successors, iter::from_fn added as diagnostic items)
 - #162616 (regression test for async main diagnostic)
@rust-bors
rust-bors Bot merged commit 8021397 into rust-lang:main Sep 11, 2026
13 checks passed
@rustbot rustbot added this to the 1.100.0 milestone Sep 11, 2026
rust-bors Bot pushed a commit that referenced this pull request Sep 11, 2026
Rollup merge of #162607 - joshlf:transmute-cleanup, r=jswrenn

Basic cleanup in `rustc_transmute`

The content of this PR was authored by an LLM.

r? @jswrenn
@hanna-kruppe hanna-kruppe added the llm-assisted An LLM-assisted PR as defined by the LLM policy. Requires ahead-of-time consent by assignee. label Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

llm-assisted An LLM-assisted PR as defined by the LLM policy. Requires ahead-of-time consent by assignee. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants