Skip to content

Commit

Permalink
Auto merge of rust-lang#12572 - y21:mixed_attributes_style_style, r=l…
Browse files Browse the repository at this point in the history
…logiq

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 authored and flip1995 committed Apr 25, 2024
1 parent 570b07a commit a933b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/clippy/clippy_lints/src/attrs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,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 a933b6d

Please sign in to comment.