rust/tests/ui/cognitive_complexity_attr_used.stderr

13 lines
412 B
Plaintext
Raw Normal View History

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