rust/tests/ui-toml/struct_excessive_bools/test.rs

10 lines
95 B
Rust

#![warn(clippy::struct_excessive_bools)]
struct S {
a: bool,
}
struct Foo;
fn main() {}