diff options
| author | Philipp Krones <hello@philkrones.com> | 2024-02-22 15:59:29 +0100 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2024-02-22 15:59:29 +0100 |
| commit | dc0bb69e66e72918a72bac38b57bf7716b3e010d (patch) | |
| tree | 05f1aa0df76e5e9ed29455f4aa8b1b23436c8309 /tests/ui/format_push_string.stderr | |
| parent | 31b551fee925cf9ca2d3c37fa09a712ef8e66228 (diff) | |
| parent | d554bcad7914a7fbe01a40371a7917ac0b763494 (diff) | |
Merge remote-tracking branch 'upstream/master' into rustup
Diffstat (limited to 'tests/ui/format_push_string.stderr')
| -rw-r--r-- | tests/ui/format_push_string.stderr | 10 |
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 | | |
