Skip to content

Commit

Permalink
Auto merge of #12572 - y21:mixed_attributes_style_style, r=llogiq
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bors committed Mar 27, 2024
2 parents b8b9b27 + 5b95e90 commit 014230c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/attrs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "1.78.0"]
pub MIXED_ATTRIBUTES_STYLE,
suspicious,
style,
"item has both inner and outer attributes"
}

Expand Down

0 comments on commit 014230c

Please sign in to comment.