-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Forbid redundant_pattern_matching triggering in macros #6069
Forbid redundant_pattern_matching triggering in macros #6069
Conversation
r? @Manishearth (rust_highfive has picked a reviewer for you, use r? to override) |
Mmh, looks like a test is failing: |
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.
r+ but this should pass tests
@Manishearth, hm... Is it OK to remove falling test? :) This test is about regression in one of the |
We don't suppress macros for all of these, so maybe pick a different lint there. |
But there are a lot of constructions like
Sorry, I don't understand, what you mean. I can see two options here:
Which one of them do you think better? |
I mean that the test can be rewritten to use a different lint. But I think it's also fine to remove, most cases where this ICEs should have a macro check anyway. |
ca35e81
to
5529217
Compare
tests failed because of #6067 |
☔ The latest upstream changes (presumably #6071) made this pull request unmergeable. Please resolve the merge conflicts. Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:
|
- remove ice-2636 test
5529217
to
d4f158f
Compare
@rustbot modify labels: +S-waiting-on-review -S-waiting-on-author |
@bors r+ |
📌 Commit d4f158f has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
fixes #6065
changelog: forbid redundant_pattern_matching triggering in macros