Skip to content

Transmute cleanup - #162653

Open
joshlf wants to merge 3 commits into
rust-lang:mainfrom
joshlf:transmute-cleanup
Open

Transmute cleanup#162653
joshlf wants to merge 3 commits into
rust-lang:mainfrom
joshlf:transmute-cleanup

Conversation

@joshlf

@joshlf joshlf commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

The content of this PR was authored by an LLM.

r? @jswrenn

Use local and associated constants in assumption-sensitive acceptance and
rejection cases under both trait solvers. Check reference obligations with
distinct source and destination markers, and exercise byte and reference
alternatives at the same query state.

Agent-Authored-By: AI agent acting on Josh Liebow-Feeser's behalf
Process shared reference labels once during union and remap concatenated
reference destinations in place, preserving map order. Document the state
identifier requirements and validate interval fixtures at construction.

Cover reference union, concatenation, unit identities, and valid and invalid
interval fixtures with focused tests.

Agent-Authored-By: AI agent acting on Josh Liebow-Feeser's behalf
Read numeric sizes from their layouts and iterate enum variant indices
without recalculating discarded discriminants. Pass existing array and field
layouts into recursive conversion while retaining the original type regions.

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 11, 2026
@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-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants