1error: manual implementation of an assign operation 2 --> $DIR/string_add.rs:13:9 3 | 4LL | x = x + "."; 5 | ^^^^^^^^^^^ help: replace it with: `x += "."` 6 | 7 = note: `-D clippy::assign-op-pattern` implied by `-D warnings` 8 9error: you added something to a string. Consider using `String::push_str()` instead 10 --> $DIR/string_add.rs:13:13 11 | 12LL | x = x + "."; 13 | ^^^^^^^ 14 | 15 = note: `-D clippy::string-add` implied by `-D warnings` 16 17error: you added something to a string. Consider using `String::push_str()` instead 18 --> $DIR/string_add.rs:17:13 19 | 20LL | let z = y + "..."; 21 | ^^^^^^^^^ 22 23error: manual implementation of an assign operation 24 --> $DIR/string_add.rs:22:5 25 | 26LL | x = x + 1; 27 | ^^^^^^^^^ help: replace it with: `x += 1` 28 29error: aborting due to 4 previous errors 30 31