]>
Commit | Line | Data |
---|---|---|
f20569fa | 1 | error: more than 1 bools in function parameters |
c620b35d | 2 | --> tests/ui-toml/fn_params_excessive_bools/test.rs:4:1 |
f20569fa XL |
3 | | |
4 | LL | fn g(_: bool, _: bool) {} | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
6 | | | |
f20569fa | 7 | = help: consider refactoring bools into two-variant enums |
2b03887a | 8 | = note: `-D clippy::fn-params-excessive-bools` implied by `-D warnings` |
781aab86 | 9 | = help: to override `-D warnings` add `#[allow(clippy::fn_params_excessive_bools)]` |
f20569fa | 10 | |
4b012472 | 11 | error: aborting due to 1 previous error |
f20569fa | 12 |