]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
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 | | | |
f20569fa | 9 | = help: consider using a state machine or refactoring bools into two-variant enums |
2b03887a | 10 | = note: `-D clippy::struct-excessive-bools` implied by `-D warnings` |
f20569fa XL |
11 | |
12 | error: aborting due to previous error | |
13 |