about summary refs log tree commit diff
path: root/tests/ui/format_push_string.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/format_push_string.stderr')
-rw-r--r--tests/ui/format_push_string.stderr10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ui/format_push_string.stderr b/tests/ui/format_push_string.stderr
index 545915b56b5..a9520600f52 100644
--- a/tests/ui/format_push_string.stderr
+++ b/tests/ui/format_push_string.stderr
@@ -1,5 +1,5 @@
 error: `format!(..)` appended to existing `String`
-  --> $DIR/format_push_string.rs:5:5
+  --> tests/ui/format_push_string.rs:5:5
    |
 LL |     string += &format!("{:?}", 1234);
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -9,7 +9,7 @@ LL |     string += &format!("{:?}", 1234);
    = help: to override `-D warnings` add `#[allow(clippy::format_push_string)]`
 
 error: `format!(..)` appended to existing `String`
-  --> $DIR/format_push_string.rs:7:5
+  --> tests/ui/format_push_string.rs:7:5
    |
 LL |     string.push_str(&format!("{:?}", 5678));
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -17,7 +17,7 @@ LL |     string.push_str(&format!("{:?}", 5678));
    = help: consider using `write!` to avoid the extra allocation
 
 error: `format!(..)` appended to existing `String`
-  --> $DIR/format_push_string.rs:15:13
+  --> tests/ui/format_push_string.rs:15:13
    |
 LL | /             hex += &(if upper {
 LL | |
@@ -30,7 +30,7 @@ LL | |             });
    = help: consider using `write!` to avoid the extra allocation
 
 error: `format!(..)` appended to existing `String`
-  --> $DIR/format_push_string.rs:28:9
+  --> tests/ui/format_push_string.rs:28:9
    |
 LL | /         s += &(if let Some(_a) = Some(1234) {
 LL | |
@@ -43,7 +43,7 @@ LL | |         });
    = help: consider using `write!` to avoid the extra allocation
 
 error: `format!(..)` appended to existing `String`
-  --> $DIR/format_push_string.rs:35:9
+  --> tests/ui/format_push_string.rs:35:9
    |
 LL | /         s += &(match Some(1234) {
 LL | |