-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add a witness for enum_variant_missing
#978
chore: add a witness for enum_variant_missing
#978
Conversation
6d2a737
to
48669ac
Compare
In this case, I think it's worth getting the variant kind right. We can tweak the lint query by adding Also, it seems like the PR title got cut off maybe? |
enum_variant_missing
enum_variant_missing
…th the correct brackets
Shure. Please review, if I picked the correct query (=you did not mean (I have also added a testcase to prove that it works) |
enum_variant_missing
enum_variant_missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff. Still a few nitpicks that I'd like you to try to catch on your own in future PRs, either up front or in self-review, though.
I'm happy to merge this once CI is happy with it again. |
Head branch was pushed to by a user without write access
Similar to #977 (but a bit more wrong syntax gets produced)
Similar to , this is not quite correct syntax:
a query for
variant
would be nessesary to have the correct brackets to construct the enum (struct, vs plain vs tuple).