1 error: the function has a cognitive complexity of (28/25)
2 --> $DIR/cognitive_complexity.rs:6:4
7 = note: `-D clippy::cognitive-complexity` implied by `-D warnings`
8 = help: you could split it up into multiple smaller functions
10 error: the function has a cognitive complexity of (7/1)
11 --> $DIR/cognitive_complexity.rs:91:4
16 = help: you could split it up into multiple smaller functions
18 error: the function has a cognitive complexity of (2/1)
19 --> $DIR/cognitive_complexity.rs:149:4
24 = help: you could split it up into multiple smaller functions
26 error: the function has a cognitive complexity of (2/1)
27 --> $DIR/cognitive_complexity.rs:150:13
29 LL | let x = || match 99 {
32 = help: you could split it up into multiple smaller functions
34 error: the function has a cognitive complexity of (2/1)
35 --> $DIR/cognitive_complexity.rs:167:4
40 = help: you could split it up into multiple smaller functions
42 error: the function has a cognitive complexity of (2/1)
43 --> $DIR/cognitive_complexity.rs:186:4
48 = help: you could split it up into multiple smaller functions
50 error: the function has a cognitive complexity of (3/1)
51 --> $DIR/cognitive_complexity.rs:196:4
56 = help: you could split it up into multiple smaller functions
58 error: the function has a cognitive complexity of (2/1)
59 --> $DIR/cognitive_complexity.rs:212:4
64 = help: you could split it up into multiple smaller functions
66 error: the function has a cognitive complexity of (3/1)
67 --> $DIR/cognitive_complexity.rs:222:4
72 = help: you could split it up into multiple smaller functions
74 error: the function has a cognitive complexity of (2/1)
75 --> $DIR/cognitive_complexity.rs:238:4
80 = help: you could split it up into multiple smaller functions
82 error: the function has a cognitive complexity of (3/1)
83 --> $DIR/cognitive_complexity.rs:248:4
88 = help: you could split it up into multiple smaller functions
90 error: the function has a cognitive complexity of (2/1)
91 --> $DIR/cognitive_complexity.rs:264:4
96 = help: you could split it up into multiple smaller functions
98 error: the function has a cognitive complexity of (4/1)
99 --> $DIR/cognitive_complexity.rs:274:8
101 LL | pub fn read_file(input_path: &str) -> String {
104 = help: you could split it up into multiple smaller functions
106 error: the function has a cognitive complexity of (2/1)
107 --> $DIR/cognitive_complexity.rs:305:4
109 LL | fn void(void: Void) {
112 = help: you could split it up into multiple smaller functions
114 error: the function has a cognitive complexity of (8/1)
115 --> $DIR/cognitive_complexity.rs:356:4
117 LL | fn early_ret() -> i32 {
120 = help: you could split it up into multiple smaller functions
122 error: the function has a cognitive complexity of (2/1)
123 --> $DIR/cognitive_complexity.rs:377:13
125 LL | let x = |a: i32, b: i32| -> i32 {
128 = help: you could split it up into multiple smaller functions
130 error: the function has a cognitive complexity of (2/1)
131 --> $DIR/cognitive_complexity.rs:390:8
136 = help: you could split it up into multiple smaller functions
138 error: aborting due to 17 previous errors