]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/if_not_else.rs
Auto merge of #9148 - arieluy:then_some_unwrap_or, r=Jarcho
[rust.git] / clippy_lints / src / if_not_else.rs
index ac938156237bf8f090feb281558f6301b685e6b0..3d59b783337a441b3ca1151f19667fe0174b41b4 100644 (file)
@@ -39,6 +39,7 @@
     ///     a()
     /// }
     /// ```
+    #[clippy::version = "pre 1.29.0"]
     pub IF_NOT_ELSE,
     pedantic,
     "`if` branches that could be swapped so no negation operation is necessary on the condition"