blob: 87bdb61c6a5e79c5949e4479a3d7e0f16da00032 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error: more than 1 bools in function parameters
--> $DIR/test.rs:4:1
|
LL | fn g(_: bool, _: bool) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider refactoring bools into two-variant enums
= note: `-D clippy::fn-params-excessive-bools` implied by `-D warnings`
error: aborting due to previous error
|