summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/cognitive_complexity_attr_used.stderr
blob: f5ff53dda603b388329940d2ad6d70a2003e9e0f (plain)
1
2
3
4
5
6
7
8
9
10
11
error: the function has a cognitive complexity of (3/0)
  --> $DIR/cognitive_complexity_attr_used.rs:9:4
   |
LL | fn kaboom() {
   |    ^^^^^^
   |
   = 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