about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/ui/flat_map_identity.fixed (renamed from tests/ui/unnecessary_flat_map.fixed)0
-rw-r--r--tests/ui/flat_map_identity.rs (renamed from tests/ui/unnecessary_flat_map.rs)0
-rw-r--r--tests/ui/flat_map_identity.stderr (renamed from tests/ui/unnecessary_flat_map.stderr)4
3 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/unnecessary_flat_map.fixed b/tests/ui/flat_map_identity.fixed
index dfe3bd47e13..dfe3bd47e13 100644
--- a/tests/ui/unnecessary_flat_map.fixed
+++ b/tests/ui/flat_map_identity.fixed
diff --git a/tests/ui/unnecessary_flat_map.rs b/tests/ui/flat_map_identity.rs
index 393b9569255..393b9569255 100644
--- a/tests/ui/unnecessary_flat_map.rs
+++ b/tests/ui/flat_map_identity.rs
diff --git a/tests/ui/unnecessary_flat_map.stderr b/tests/ui/flat_map_identity.stderr
index a1cd5745e49..e4686ae5a54 100644
--- a/tests/ui/unnecessary_flat_map.stderr
+++ b/tests/ui/flat_map_identity.stderr
@@ -1,5 +1,5 @@
 error: called `flat_map(|x| x)` on an `Iterator`
-  --> $DIR/unnecessary_flat_map.rs:10:22
+  --> $DIR/flat_map_identity.rs:10:22
    |
 LL |     let _ = iterator.flat_map(|x| x);
    |                      ^^^^^^^^^^^^^^^ help: try: `flatten()`
@@ -7,7 +7,7 @@ LL |     let _ = iterator.flat_map(|x| x);
    = note: `-D clippy::flat-map-identity` implied by `-D warnings`
 
 error: called `flat_map(std::convert::identity)` on an `Iterator`
-  --> $DIR/unnecessary_flat_map.rs:13:22
+  --> $DIR/flat_map_identity.rs:13:22
    |
 LL |     let _ = iterator.flat_map(convert::identity);
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `flatten()`