1 2 3 4 5 6 7 8 9
#![warn(clippy::struct_excessive_bools)] struct S { a: bool, } struct Foo; fn main() {}