mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 17:15:05 +00:00
14 lines
649 B
Text
14 lines
649 B
Text
error: error reading Clippy's configuration file: duplicate field `cognitive_complexity_threshold` (provided as `cyclomatic_complexity_threshold`)
|
|
--> $DIR/$DIR/duplicated_keys_deprecated/clippy.toml:3:1
|
|
|
|
|
LL | cyclomatic-complexity-threshold = 3
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: error reading Clippy's configuration file: deprecated field `cyclomatic-complexity-threshold`. Please use `cognitive-complexity-threshold` instead
|
|
--> $DIR/$DIR/duplicated_keys_deprecated/clippy.toml:3:1
|
|
|
|
|
LL | cyclomatic-complexity-threshold = 3
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error; 1 warning emitted
|
|
|