2019-08-29 03:56:13 -05:00
|
|
|
error: the function has a cognitive complexity of (3/0)
|
2019-12-21 20:07:53 -06:00
|
|
|
--> $DIR/cognitive_complexity_attr_used.rs:9:4
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2019-12-21 20:07:53 -06:00
|
|
|
LL | fn kaboom() {
|
|
|
|
| ^^^^^^
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
|
= help: you could split it up into multiple smaller functions
|
2022-09-22 11:04:22 -05:00
|
|
|
= note: `-D clippy::cognitive-complexity` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::cognitive_complexity)]`
|
2017-02-07 14:05:30 -06:00
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2018-01-16 10:06:27 -06:00
|
|
|
|