]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui-toml/struct_excessive_bools/test.stderr
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui-toml / struct_excessive_bools / test.stderr
1 error: more than 0 bools in a struct
2 --> $DIR/test.rs:3:1
3 |
4 LL | / struct S {
5 LL | | a: bool,
6 LL | | }
7 | |_^
8 |
9 = note: `-D clippy::struct-excessive-bools` implied by `-D warnings`
10 = help: consider using a state machine or refactoring bools into two-variant enums
11
12 error: aborting due to previous error
13