]> git.lizzy.rs Git - rust.git/blob - tests/ui-toml/fn_params_excessive_bools/test.stderr
Auto merge of #9596 - flip1995:rustup, r=flip1995
[rust.git] / tests / ui-toml / fn_params_excessive_bools / test.stderr
1 error: more than 1 bools in function parameters
2   --> $DIR/test.rs:4:1
3    |
4 LL | fn g(_: bool, _: bool) {}
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: consider refactoring bools into two-variant enums
8    = note: `-D clippy::fn-params-excessive-bools` implied by `-D warnings`
9
10 error: aborting due to previous error
11