pub fn remove_overlaps_map<K: Ord>(lint_map: &mut BTreeMap<K, Vec<Lint>>)
Expand description
Remove overlapping lints from a map keyed by rule name, similar to remove_overlaps
.
The map is treated as if all contained lints were in a single flat collection, ensuring the
same lint would be kept regardless of whether it originated from lint
or organized_lints
.