Allow non_snake_case on impl #237
Labels
No labels
bug
good first issue
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-bitflags/bitflags#237
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm getting a warning about non-snake case function idents:

I noted that
github.com/bitflags/bitflags@c2ba431413/src/lib.rs (L505-L507)and
github.com/bitflags/bitflags@c2ba431413/src/lib.rs (L594-L596)do not allow
non_snake_casewhile their trait definitions do.Should rust-analyzer be suppressing this warning, or could we allow
non_snake_caseon the impls?I've suggested suppressing the warning on rust-analyzer https://github.com/rust-analyzer/rust-analyzer/issues/8675.
We could also freely pepper
#[allow()]s in more places where we generate those warnings ourselves.