summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-toml/duplicated_keys/clippy.toml
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui-toml/duplicated_keys/clippy.toml')
-rw-r--r--src/tools/clippy/tests/ui-toml/duplicated_keys/clippy.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui-toml/duplicated_keys/clippy.toml b/src/tools/clippy/tests/ui-toml/duplicated_keys/clippy.toml
new file mode 100644
index 000000000..63a893cc6
--- /dev/null
+++ b/src/tools/clippy/tests/ui-toml/duplicated_keys/clippy.toml
@@ -0,0 +1,5 @@
+cognitive-complexity-threshold = 2
+# This is the deprecated name for the same key
+cyclomatic-complexity-threshold = 3
+# Check we get duplication warning regardless of order
+cognitive-complexity-threshold = 4