diff options
Diffstat (limited to 'src/tools/clippy/tests/ui-toml/struct_excessive_bools/test.rs')
-rw-r--r-- | src/tools/clippy/tests/ui-toml/struct_excessive_bools/test.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui-toml/struct_excessive_bools/test.rs b/src/tools/clippy/tests/ui-toml/struct_excessive_bools/test.rs new file mode 100644 index 000000000..32dd80246 --- /dev/null +++ b/src/tools/clippy/tests/ui-toml/struct_excessive_bools/test.rs @@ -0,0 +1,9 @@ +#![warn(clippy::struct_excessive_bools)] + +struct S { + a: bool, +} + +struct Foo; + +fn main() {} |