rust-clippy/tests/ui/cognitive_complexity_attr_used.stderr

13 lines
406 B
Text
Raw Normal View History

error: the function has a cognitive complexity of (3/0)
--> $DIR/cognitive_complexity_attr_used.rs:9:4
|
LL | fn kaboom() {
| ^^^^^^
|
= 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`
= help: to override `-D warnings` add `#[allow(clippy::cognitive_complexity)]`
2018-01-16 16:06:27 +00:00
error: aborting due to previous error