rust/tests/ui-toml/item_name_repetitions
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
..
allowed_prefixes Recognize common prefixes when checking for items with module name suffix 2024-04-09 09:47:54 +02:00
allowed_prefixes_extend Recognize common prefixes when checking for items with module name suffix 2024-04-09 09:47:54 +02:00
threshold0
threshold5