Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new mixed_attributes_style lint #12354

Merged
merged 3 commits into from Feb 29, 2024

Conversation

GuillaumeGomez
Copy link
Member

@GuillaumeGomez GuillaumeGomez commented Feb 26, 2024

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

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Feb 26, 2024
@GuillaumeGomez
Copy link
Member Author

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

@GuillaumeGomez
Copy link
Member Author

And also dogfood...

@GuillaumeGomez
Copy link
Member Author

Ci passed. \o/

}

#[allow(unused)]
#[allow(unused)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attribute duplication might be worth another lint.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dully noted.

@llogiq
Copy link
Contributor

llogiq commented Feb 26, 2024

Thank you!

@bors r+

@bors
Copy link
Collaborator

bors commented Feb 26, 2024

📌 Commit 1631ee3 has been approved by llogiq

It is now in the queue for this repository.

bors added a commit that referenced this pull request Feb 26, 2024
Add new `mixed_attributes_style` lint

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
@bors
Copy link
Collaborator

bors commented Feb 26, 2024

⌛ Testing commit 1631ee3 with merge 586e791...

@bors
Copy link
Collaborator

bors commented Feb 26, 2024

💔 Test failed - checks-action_test

@GuillaumeGomez
Copy link
Member Author

Seems completely unrelated. Retry? :3

@llogiq
Copy link
Contributor

llogiq commented Feb 27, 2024

@bors retry

@bors
Copy link
Collaborator

bors commented Feb 27, 2024

⌛ Testing commit 1631ee3 with merge cb4d3f4...

bors added a commit that referenced this pull request Feb 27, 2024
Add new `mixed_attributes_style` lint

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
@bors
Copy link
Collaborator

bors commented Feb 27, 2024

💔 Test failed - checks-action_test

@GuillaumeGomez
Copy link
Member Author

Rebased and allowed this lint in empty_docs lint.

@GuillaumeGomez
Copy link
Member Author

Rebased again.

@llogiq
Copy link
Contributor

llogiq commented Feb 29, 2024

@bors r+

@bors
Copy link
Collaborator

bors commented Feb 29, 2024

📌 Commit f301386 has been approved by llogiq

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Feb 29, 2024

⌛ Testing commit f301386 with merge 00ff8c9...

@bors
Copy link
Collaborator

bors commented Feb 29, 2024

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing 00ff8c9 to master...

@bors bors merged commit 00ff8c9 into rust-lang:master Feb 29, 2024
8 checks passed
@GuillaumeGomez GuillaumeGomez deleted the mixed_attributes_style branch February 29, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants