Warn disallowed_methods and disallowed_types by default#8261
Warn disallowed_methods and disallowed_types by default#8261bors merged 1 commit intorust-lang:masterfrom
Conversation
|
r? @giraffate (rust-highfive has picked a reviewer for you, use r? to override) |
| #[clippy::version = "1.49.0"] | ||
| pub DISALLOWED_METHODS, | ||
| nursery, | ||
| style, |
There was a problem hiding this comment.
I'm not sure if style is the right group (I felt like it is "user-defined code styles"), but I couldn't find another group that looked good. (restriction that #7841 originally proposed is allowed by default.)
|
Yeah, I think style is fine here. I would add a note to the
|
|
@flip1995 Thanks. I applied your suggestion. |
|
@bors r+ It looks good, thanks! |
|
📌 Commit 5f143c6 has been approved by |
|
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Warn missing_enforced_import_renames by default Similar to #8261 that did the same thing to disallowed_methods & disallowed_types. This lint is also only triggered if import renames are defined in the `clippy.toml` file. changelog: Moved [`missing_enforced_import_renames`] to `style` (Now warn-by-default) [#11539](#11539)
Closes #7841
changelog: Moved [
disallowed_methods] and [disallowed_types] tostyle