about summary refs log tree commit diff
path: root/tests/ui/tool_lints-rpass.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/tool_lints-rpass.rs')
-rw-r--r--tests/ui/tool_lints-rpass.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/tool_lints-rpass.rs b/tests/ui/tool_lints-rpass.rs
new file mode 100644
index 00000000000..e467d34376f
--- /dev/null
+++ b/tests/ui/tool_lints-rpass.rs
@@ -0,0 +1,6 @@
+// run-pass
+
+#![deny(unknown_lints)]
+
+#[allow(clippy::almost_swapped)]
+fn main() {}