]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/crashes/if_same_then_else.rs
add test for #5238
[rust.git] / tests / ui / crashes / if_same_then_else.rs
index 7b3b881316df6c3e8a31851b806d5284e5ea00ff..4ef992b05e7618f2b40221690618354f528b7d9d 100644 (file)
@@ -1,3 +1,6 @@
+// run-pass
+
+#![allow(clippy::comparison_chain)]
 #![deny(clippy::if_same_then_else)]
 
 /// Test for https://github.com/rust-lang/rust-clippy/issues/2426