rust-clippy icon indicating copy to clipboard operation
rust-clippy copied to clipboard

Add new `mixed_attributes_style` lint

Open GuillaumeGomez opened this issue 1 year ago • 13 comments

Add a new lint to detect cases where both inner and outer attributes are used on a same item.

r? @llogiq


changelog: Add new [mixed_attributes_style] lint

GuillaumeGomez avatar Feb 26 '24 11:02 GuillaumeGomez

Note for future self: run cargo dev fmt AFTER uibless.

GuillaumeGomez avatar Feb 26 '24 11:02 GuillaumeGomez

And also dogfood...

GuillaumeGomez avatar Feb 26 '24 11:02 GuillaumeGomez

Ci passed. \o/

GuillaumeGomez avatar Feb 26 '24 13:02 GuillaumeGomez

Thank you!

@bors r+

llogiq avatar Feb 26 '24 13:02 llogiq

:pushpin: Commit 1631ee335fefe05b0ab97c58c2a711e652af1739 has been approved by llogiq

It is now in the queue for this repository.

bors avatar Feb 26 '24 13:02 bors

:hourglass: Testing commit 1631ee335fefe05b0ab97c58c2a711e652af1739 with merge 586e7916d6bde160b07454738d4a2791829993cb...

bors avatar Feb 26 '24 13:02 bors

:broken_heart: Test failed - checks-action_test

bors avatar Feb 26 '24 13:02 bors

Seems completely unrelated. Retry? :3

GuillaumeGomez avatar Feb 26 '24 13:02 GuillaumeGomez

@bors retry

llogiq avatar Feb 27 '24 05:02 llogiq

:hourglass: Testing commit 1631ee335fefe05b0ab97c58c2a711e652af1739 with merge cb4d3f4588ca1ad036d2494637745d959a9d93b5...

bors avatar Feb 27 '24 05:02 bors

:broken_heart: Test failed - checks-action_test

bors avatar Feb 27 '24 05:02 bors

Rebased and allowed this lint in empty_docs lint.

GuillaumeGomez avatar Feb 27 '24 10:02 GuillaumeGomez

Rebased again.

GuillaumeGomez avatar Feb 27 '24 21:02 GuillaumeGomez

@bors r+

llogiq avatar Feb 29 '24 11:02 llogiq

:pushpin: Commit f30138623bd9a078698328a32785780cee379e8d has been approved by llogiq

It is now in the queue for this repository.

bors avatar Feb 29 '24 11:02 bors

:hourglass: Testing commit f30138623bd9a078698328a32785780cee379e8d with merge 00ff8c92d395d08325301c1a1462fc38abd82053...

bors avatar Feb 29 '24 11:02 bors

:sunny: Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test Approved by: llogiq Pushing 00ff8c92d395d08325301c1a1462fc38abd82053 to master...

bors avatar Feb 29 '24 11:02 bors