Skip to content

new rustc_on_unimplemented match values#2801

Merged
tshepang merged 1 commit intorust-lang:mainfrom
malezjaa:new-on-unimplemented-match-values
Apr 8, 2026
Merged

new rustc_on_unimplemented match values#2801
tshepang merged 1 commit intorust-lang:mainfrom
malezjaa:new-on-unimplemented-match-values

Conversation

@malezjaa
Copy link
Copy Markdown
Contributor

Documents three new values (union, enum, and struct) that can be used to match on Self types in rustc_on_unimplemented. Introduced in rust-lang/rust#154118

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Mar 21, 2026

Thanks for the PR. If you have write access, feel free to merge this PR if it does not need reviews. You can request a review using r? rustc-dev-guide or r? <username>.

@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Mar 21, 2026
@malezjaa
Copy link
Copy Markdown
Contributor Author

malezjaa commented Apr 7, 2026

r? rustc-dev-guide

@tshepang tshepang merged commit 05d67e5 into rust-lang:main Apr 8, 2026
1 check passed
@rustbot rustbot removed the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Apr 8, 2026
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.

3 participants