]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/tests/ui-toml/fn_params_excessive_bools/test.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui-toml / fn_params_excessive_bools / test.rs
diff --git a/src/tools/clippy/tests/ui-toml/fn_params_excessive_bools/test.rs b/src/tools/clippy/tests/ui-toml/fn_params_excessive_bools/test.rs
new file mode 100644 (file)
index 0000000..42897b3
--- /dev/null
@@ -0,0 +1,6 @@
+#![warn(clippy::fn_params_excessive_bools)]
+
+fn f(_: bool) {}
+fn g(_: bool, _: bool) {}
+
+fn main() {}