2 Checks for imports that do not rename the item as specified
3 in the `enforce-import-renames` config option.
6 Consistency is important, if a project has defined import
7 renames they should be followed. More practically, some item names are too
8 vague outside of their defining scope this can enforce a more meaningful naming.
11 An example clippy.toml configuration:
13 enforced-import-renames = [ { path = "serde_json::Value", rename = "JsonValue" }]
17 use serde_json::Value;
21 use serde_json::Value as JsonValue;