2019-08-29 08:56:13 +00:00
|
|
|
error: the function has a cognitive complexity of (3/0)
|
2019-12-22 02:07:53 +00:00
|
|
|
--> $DIR/cognitive_complexity_attr_used.rs:9:4
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2019-12-22 02:07:53 +00:00
|
|
|
LL | fn kaboom() {
|
|
|
|
| ^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
|
= 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`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::cognitive_complexity)]`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
2018-01-16 16:06:27 +00:00
|
|
|
error: aborting due to previous error
|
|
|
|
|