mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Auto merge of #12572 - y21:mixed_attributes_style_style, r=llogiq
Move `mixed_attributes_style` to style > It currently is in suspicious. I wouldn't say that the linted code is "most likely wrong or useless" [...] > 😅 I would still argue that this doesn't belong in the suspicious group, but rather in the style group. These are some good points made [on zulip](https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/mixed_attributes_style.20on.20outlined.20modules/near/429823328). ---- changelog: Move [`mixed_attributes_style`] to the `style` category
This commit is contained in:
commit
014230ce16
@ -496,7 +496,7 @@ declare_clippy_lint! {
|
|||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.78.0"]
|
#[clippy::version = "1.78.0"]
|
||||||
pub MIXED_ATTRIBUTES_STYLE,
|
pub MIXED_ATTRIBUTES_STYLE,
|
||||||
suspicious,
|
style,
|
||||||
"item has both inner and outer attributes"
|
"item has both inner and outer attributes"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user