1 error: `format!(..)` appended to existing `String`
2 --> $DIR/format_push_string.rs:5:5
4 LL | string += &format!("{:?}", 1234);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = help: consider using `write!` to avoid the extra allocation
8 = note: `-D clippy::format-push-string` implied by `-D warnings`
10 error: `format!(..)` appended to existing `String`
11 --> $DIR/format_push_string.rs:6:5
13 LL | string.push_str(&format!("{:?}", 5678));
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 = help: consider using `write!` to avoid the extra allocation
18 error: aborting due to 2 previous errors