-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Rename run_lints -> lints_enabled #7448
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
Conversation
r? @camsteffen (GitHub UI suggested me your name 😄 ) |
rust-highfive bot was down because of a invalid json file rust-lang/highfive#343 |
Can we just remove it and use |
One more thought. We could have a variant that uses |
@bors r+ |
📌 Commit 795868d has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Oh I missed |
Remove lints_enabled r? `@camsteffen` cc #7448 (comment) I haven't added a variant with `last_node_with_lint_attrs` yet, since I didn't see a usecase for this. Also this field is not documented, so I'm wondering how it behaves with command line lints and so on. changelog: none
Just a quick rename of a utilities function.
run_lints
kinda suggested that the lints were run by this function. But the only thing this function does is to check if the lints are enabled in the context of thehir_id
changelog: none