Skip to content

Conversation

@GuillaumeGomez
Copy link
Member

Using expect instead of allow allows to know when an attribute is not triggered anymore, so that's quite useful considering it allowed me to remove quite a few of them here. :)

match arch {
"AMDGPU" => {
#[allow(non_snake_case)]
#[expect(non_snake_case)]
Copy link
Member

Choose a reason for hiding this comment

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

This file is generated by generate_intrinsics.py, so next time it gets regenerated these changes will be overwritten.

Copy link
Member Author

Choose a reason for hiding this comment

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

I should try to remember what the code I wrote is actually doing. ^^'

Copy link
Contributor

@antoyo antoyo left a comment

Choose a reason for hiding this comment

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

Very nice improvement!

@antoyo antoyo merged commit f25ac1d into rust-lang:master Nov 5, 2025
38 checks passed
@GuillaumeGomez GuillaumeGomez deleted the clean-up-allow branch November 5, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants