summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-toml/conf_deprecated_key/conf_deprecated_key.stderr
blob: 4c560299ebdd1385bdfd0878d8970989ba45683e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
warning: error reading Clippy's configuration file `$DIR/clippy.toml`: deprecated field `cyclomatic-complexity-threshold`. Please use `cognitive-complexity-threshold` instead

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)
  --> $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

error: aborting due to previous error; 2 warnings emitted