1 error: the function has a cognitive complexity of (3/0)
2 --> $DIR/cognitive_complexity_attr_used.rs:9:4
7 = note: `-D clippy::cognitive-complexity` implied by `-D warnings`
8 = help: you could split it up into multiple smaller functions
10 error: aborting due to previous error