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