summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-toml/conf_deprecated_key/conf_deprecated_key.stderr
blob: 89d84eb24556d6604ba72c5d98cbc9b975aa90ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 = 2
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: error reading Clippy's configuration file: deprecated field `blacklisted-names`. Please use `disallowed-names` instead
  --> $DIR/$DIR/clippy.toml:3:1
   |
LL | blacklisted-names = [ "..", "wibble" ]
   | ^^^^^^^^^^^^^^^^^

error: the function has a cognitive complexity of (3/2)
  --> $DIR/conf_deprecated_key.rs:6:4
   |
LL | fn cognitive_complexity() {
   |    ^^^^^^^^^^^^^^^^^^^^
   |
   = help: you could split it up into multiple smaller functions
   = note: `-D clippy::cognitive-complexity` implied by `-D warnings`

error: aborting due to previous error; 2 warnings emitted