Skip to content

codegen: Revert some bitfield codegen changes and silence unnecessary_transmutes instead. - #3455

Open
emilio wants to merge 1 commit into
mainfrom
newtype-enum-bitfield
Open

codegen: Revert some bitfield codegen changes and silence unnecessary_transmutes instead.#3455
emilio wants to merge 1 commit into
mainfrom
newtype-enum-bitfield

Conversation

@emilio

@emilio emilio commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

This reverts commits a502187 and 01d65d9, because it breaks when the bitfield is a newtype enum, and adds a test for that.

Fixes #3454.

…_transmutes instead.

This reverts commits a502187 and
01d65d9, because it breaks when the
bitfield is a newtype enum, and adds a test for that.

Fixes #3454.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bitfield setter for enum-typed field emits invalid as cast (E0605), regression since 0.73.0

1 participant