rust/tests
bors 3e42c35b72 Auto merge of #6981 - matthiaskrgr:6803_take_2, r=flip1995
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)
2021-03-31 15:02:40 +00:00
..
auxiliary
cargo
ui Auto merge of #6981 - matthiaskrgr:6803_take_2, r=flip1995 2021-03-31 15:02:40 +00:00
ui-cargo
ui-internal
ui-toml upper_case_acronyms: add ui and ui-toml tests for private/public enums 2021-03-27 01:08:14 +01:00
compile-test.rs
dogfood.rs
fmt.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs