Skip to content

Commit a933b6d

Browse files
borsflip1995
authored andcommitted
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
1 parent 570b07a commit a933b6d

File tree

1 file changed

+1
-1
lines changed
  • src/tools/clippy/clippy_lints/src/attrs

1 file changed

+1
-1
lines changed

src/tools/clippy/clippy_lints/src/attrs/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ declare_clippy_lint! {
495495
/// ```
496496
#[clippy::version = "1.78.0"]
497497
pub MIXED_ATTRIBUTES_STYLE,
498-
suspicious,
498+
style,
499499
"item has both inner and outer attributes"
500500
}
501501

0 commit comments

Comments
 (0)