about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/methods_unfixable.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/methods_unfixable.stderr')
-rw-r--r--src/tools/clippy/tests/ui/methods_unfixable.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/clippy/tests/ui/methods_unfixable.stderr b/src/tools/clippy/tests/ui/methods_unfixable.stderr
index 771e10cbe10..76691860f81 100644
--- a/src/tools/clippy/tests/ui/methods_unfixable.stderr
+++ b/src/tools/clippy/tests/ui/methods_unfixable.stderr
@@ -1,11 +1,11 @@
 error: called `filter(..).next()` on an `Iterator`. This is more succinctly expressed by calling `.find(..)` instead
-  --> $DIR/methods_unfixable.rs:9:13
+  --> tests/ui/methods_unfixable.rs:9:13
    |
 LL |     let _ = iter.filter(|_| true).next();
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `iter.find(|_| true)`
    |
 help: you will also need to make `iter` mutable, because `find` takes `&mut self`
-  --> $DIR/methods_unfixable.rs:8:9
+  --> tests/ui/methods_unfixable.rs:8:9
    |
 LL |     let iter = (0..10);
    |         ^^^^