Don't lint `manual_non_exhaustive` when enum is `#[non_exhaustive]` by Tyrubias...
source link: https://github.com/rust-lang/rust-clippy/pull/11590
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Conversation
Contributor
Fixes #11583
changelog: Fix [manual_non_exhaustive
] false positive for unit enum variants when enum is explicitly non_exhaustive
.
Collaborator
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Alexendoo (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK