Skip to content

Don't derive or implement traits for newtype aliases to c_void - #3432

Merged
emilio merged 1 commit into
rust-lang:mainfrom
Jules-Bertholet:void-traits
Sep 5, 2026
Merged

Don't derive or implement traits for newtype aliases to c_void#3432
emilio merged 1 commit into
rust-lang:mainfrom
Jules-Bertholet:void-traits

Conversation

@Jules-Bertholet

Copy link
Copy Markdown
Contributor

Fixes #2964. See also rust-lang/rust#160115

@Jules-Bertholet Jules-Bertholet changed the title Don't derive or implement traits for aliases to c_void Don't derive or implement traits for newtype aliases to c_void Aug 14, 2026
@Jules-Bertholet
Jules-Bertholet force-pushed the void-traits branch 2 times, most recently from ddc2110 to bedd1dd Compare August 16, 2026 22:31
@emilio
emilio added this pull request to the merge queue Sep 5, 2026
Merged via the queue into rust-lang:main with commit 8afb6a2 Sep 5, 2026
51 checks passed
@Jules-Bertholet
Jules-Bertholet deleted the void-traits branch September 5, 2026 16:05
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.

void typedef with new type alias generates invalid binding

2 participants