1 error: more than 3 bools in function parameters
2 --> $DIR/fn_params_excessive_bools.rs:19:1
4 LL | fn g(_: bool, _: bool, _: bool, _: bool) {}
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = help: consider refactoring bools into two-variant enums
8 = note: `-D clippy::fn-params-excessive-bools` implied by `-D warnings`
10 error: more than 3 bools in function parameters
11 --> $DIR/fn_params_excessive_bools.rs:22:1
13 LL | fn t(_: S, _: S, _: Box<S>, _: Vec<u32>, _: bool, _: bool, _: bool, _: bool) {}
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 = help: consider refactoring bools into two-variant enums
18 error: more than 3 bools in function parameters
19 --> $DIR/fn_params_excessive_bools.rs:27:5
21 LL | fn f(_: bool, _: bool, _: bool, _: bool);
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24 = help: consider refactoring bools into two-variant enums
26 error: more than 3 bools in function parameters
27 --> $DIR/fn_params_excessive_bools.rs:31:5
29 LL | fn i(_: bool, _: bool, _: bool, _: bool) {}
30 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32 = help: consider refactoring bools into two-variant enums
34 error: more than 3 bools in function parameters
35 --> $DIR/fn_params_excessive_bools.rs:35:5
37 LL | fn f(&self, _: bool, _: bool, _: bool, _: bool) {}
38 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40 = help: consider refactoring bools into two-variant enums
42 error: more than 3 bools in function parameters
43 --> $DIR/fn_params_excessive_bools.rs:50:5
45 LL | / fn n(_: bool, _: u32, _: bool, _: Box<u32>, _: bool, _: bool) {
46 LL | | fn nn(_: bool, _: bool, _: bool, _: bool) {}
50 = help: consider refactoring bools into two-variant enums
52 error: more than 3 bools in function parameters
53 --> $DIR/fn_params_excessive_bools.rs:51:9
55 LL | fn nn(_: bool, _: bool, _: bool, _: bool) {}
56 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
58 = help: consider refactoring bools into two-variant enums
60 error: aborting due to 7 previous errors