We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddbe110 commit 77c121eCopy full SHA for 77c121e
clippy_lints/src/missing_enforced_import_rename.rs
@@ -17,6 +17,9 @@ declare_clippy_lint! {
17
/// Checks for imports that do not rename the item as specified
18
/// in the `enforce-import-renames` config option.
19
///
20
+ /// Note: Even though this lint is warn-by-default, it will only trigger if
21
+ /// import renames are defined in the clippy.toml file.
22
+ ///
23
/// ### Why is this bad?
24
/// Consistency is important, if a project has defined import
25
/// renames they should be followed. More practically, some item names are too
@@ -38,7 +41,7 @@ declare_clippy_lint! {
38
41
/// ```
39
42
#[clippy::version = "1.55.0"]
40
43
pub MISSING_ENFORCED_IMPORT_RENAMES,
- restriction,
44
+ style,
45
"enforce import renames"
46
}
47
0 commit comments