Commit 23af253
committed
Auto merge of rust-lang#11539 - taiki-e:enforced-import-renames, r=Centri3
Warn missing_enforced_import_renames by default
Similar to rust-lang/rust-clippy#8261 that did the same thing to disallowed_methods & disallowed_types.
This lint is also only triggered if import renames are defined in the `clippy.toml` file.
changelog: Moved [`missing_enforced_import_renames`] to `style` (Now warn-by-default)
[rust-lang#11539](rust-lang/rust-clippy#11539)1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
41 | | - | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
0 commit comments