summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-toml/fn_params_excessive_bools/test.stderr
blob: 717a4bbfbfe17bcda3b6e7b99a422a4d75c074df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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`
   = help: to override `-D warnings` add `#[allow(clippy::fn_params_excessive_bools)]`

error: aborting due to previous error