Warn missing_enforced_import_renames by default
This commit is contained in:
parent
ddbe110081
commit
77c121e817
@ -17,6 +17,9 @@
|
||||
/// Checks for imports that do not rename the item as specified
|
||||
/// in the `enforce-import-renames` config option.
|
||||
///
|
||||
/// Note: Even though this lint is warn-by-default, it will only trigger if
|
||||
/// import renames are defined in the clippy.toml file.
|
||||
///
|
||||
/// ### Why is this bad?
|
||||
/// Consistency is important, if a project has defined import
|
||||
/// renames they should be followed. More practically, some item names are too
|
||||
@ -38,7 +41,7 @@
|
||||
/// ```
|
||||
#[clippy::version = "1.55.0"]
|
||||
pub MISSING_ENFORCED_IMPORT_RENAMES,
|
||||
restriction,
|
||||
style,
|
||||
"enforce import renames"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user