Lymia / enumset

A library for compact bit sets containing enums.
Apache License 2.0
91 stars 35 forks source link

Warnings appeared after an update #51

Open JohnScience opened 1 month ago

JohnScience commented 1 month ago

Screenshot 2024-09-17 170452

Solution: add #[allow(non_snake_case)] where necessary.

Lymia commented 5 days ago

I can't reproduce this on the latest stable Rust. Could you give more details as to what Rust version you're using? I don't have rust-analzyer set up too, so I can't test if that's relevant. If you can confirm that this warning only shows up for you in rust-analyzer (and not e.g. cargo check), that would be useful to help track this down.

IIRC, this should be one of the warnings that is suppressed in macro/procedural macro output, even without an explicit allow.