3e42c35b72
disable upper_case_acronyms for pub items - enum edition Fixes https://github.com/rust-lang/rust-clippy/issues/6803 (again... 😅 ) My previous fix did not work for enums because enum variants were checked separately in the `check_variant` function but it looks like we can't use that because we can't tell if the enum the variants belong to is declared as public or not (it always said `Inherited` for me) I went and special-cased enums and iterated over all the variants "manually", but only, if the enums is not public. --- changelog: fix upper_case_acronyms still firing on public enums (#6803) |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |