-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add disallowed_type lint, this adds a field to the conf struct #7315
Conversation
r? @giraffate (rust-highfive has picked a reviewer for you, use r? to override) |
Looks like someone brought ICE to the party! CI failed because of 2 different ICE panics maybe just one? |
2b008d8
to
e57441a
Compare
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.
It looks good, thanks! Can you squash commits?
Replace use of node_type -> node_type_opt, fix clippy warnings Don't walk the hir unnecessarily let the visitor do it
Squashed. |
@bors r+ Thanks! |
📌 Commit ea45e2a has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Fixes #7277
changelog: Add
[`disallowed_type`]
a lint that can enforce banning types specified in the config.