2022-07-27 17:18:20 +01:00
|
|
|
warning: error reading Clippy's configuration file `$DIR/clippy.toml`: deprecated field `cyclomatic-complexity-threshold`. Please use `cognitive-complexity-threshold` instead
|
2019-02-22 22:19:50 -03:00
|
|
|
|
2022-06-09 16:11:19 +01:00
|
|
|
warning: error reading Clippy's configuration file `$DIR/clippy.toml`: deprecated field `blacklisted-names`. Please use `disallowed-names` instead
|
|
|
|
|
2022-07-27 17:18:20 +01:00
|
|
|
error: the function has a cognitive complexity of (3/2)
|
|
|
|
--> $DIR/conf_deprecated_key.rs:4:4
|
|
|
|
|
|
|
|
|
LL | fn cognitive_complexity() {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::cognitive-complexity` implied by `-D warnings`
|
|
|
|
= help: you could split it up into multiple smaller functions
|
|
|
|
|
2022-06-09 16:11:19 +01:00
|
|
|
error: aborting due to previous error; 2 warnings emitted
|
2019-02-22 22:19:50 -03:00
|
|
|
|