Skip to content

Conversation

fnetz
Copy link
Contributor

@fnetz fnetz commented Sep 28, 2025

Copies the undefined behaviour warning on rustified_enum to rustified_non_exhaustive_enum, as discussed in #3297.
This should make it clear that the latter can also be UB, even with non_exhaustive, without having to check the link to rustified_enum.

@emilio emilio added this pull request to the merge queue Sep 29, 2025
Merged via the queue into rust-lang:main with commit dbe8ed9 Sep 29, 2025
51 checks passed
@fnetz fnetz deleted the non_exhaustive_ub branch September 30, 2025 00: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.

2 participants