mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-20 18:13:36 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
14 lines
545 B
Text
14 lines
545 B
Text
error: error reading Clippy's configuration file: duplicate field `cognitive-complexity-threshold`
|
|
--> $DIR/$DIR/clippy.toml:4:1
|
|
|
|
|
LL | cognitive-complexity-threshold = 4
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: error reading Clippy's configuration file: deprecated field `cyclomatic-complexity-threshold`. Please use `cognitive-complexity-threshold` instead
|
|
--> $DIR/$DIR/clippy.toml:2:1
|
|
|
|
|
LL | cyclomatic-complexity-threshold = 3
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error; 1 warning emitted
|
|
|