rust-clippy/tests/ui-toml/item_name_repetitions/allowed_prefixes
modelflat 3705073a71 Recognize common prefixes when checking for items with module name suffix
Fixes #12544.

- don't report an item name if it consists only of a prefix from `allowed-prefixes` list and a module name (e.g. `AsFoo` in module `foo`).
- configured by `allowed-prefixes` config entry
- prefixes allowed by default: [`to`, `from`, `into`, `as`, `try_into`, `try_from`]
- update docs
2024-04-09 09:47:54 +02:00
..
clippy.toml Recognize common prefixes when checking for items with module name suffix 2024-04-09 09:47:54 +02:00
item_name_repetitions.rs Recognize common prefixes when checking for items with module name suffix 2024-04-09 09:47:54 +02:00
item_name_repetitions.stderr Recognize common prefixes when checking for items with module name suffix 2024-04-09 09:47:54 +02:00