]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/len_zero.fixed
Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup
[rust.git] / src / tools / clippy / tests / ui / len_zero.fixed
index d81676a3d9f4801d06f1884e1473c8730bd7597f..1f3b8ac99b19146f766e6758d0cd799d37dc92c0 100644 (file)
@@ -141,11 +141,3 @@ fn main() {
 fn test_slice(b: &[u8]) {
     if !b.is_empty() {}
 }
-
-mod issue_3807 {
-    // Avoid suggesting changes to ranges if the user did not enable `range_is_empty`.
-    // See https://github.com/rust-lang/rust/issues/48111#issuecomment-445132965
-    fn no_suggestion() {
-        let _ = (0..42).len() == 0;
-    }
-}