]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/if_same_then_else2.rs
Rollup merge of #78769 - est31:remove_lifetimes, r=KodrAus
[rust.git] / src / tools / clippy / tests / ui / if_same_then_else2.rs
index 3cc21809264f55b94c7ec5ef2ef5e34c20097205..8d54f75b5d19f297d7f4e56be4f5659dc81b1a31 100644 (file)
@@ -3,7 +3,8 @@
     clippy::blacklisted_name,
     clippy::collapsible_if,
     clippy::ifs_same_cond,
-    clippy::needless_return
+    clippy::needless_return,
+    clippy::single_element_loop
 )]
 
 fn if_same_then_else2() -> Result<&'static str, ()> {