fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: you assigned the result of adding something to this string. Consider using `String::push_str()` instead 2 --> $DIR/string_add_assign.rs:8:9 3 | 4LL | x = x + "."; 5 | ^^^^^^^^^^^ 6 | 7 = note: `-D clippy::string-add-assign` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::string_add_assign)]` 9 10error: manual implementation of an assign operation 11 --> $DIR/string_add_assign.rs:8:9 12 | 13LL | x = x + "."; 14 | ^^^^^^^^^^^ help: replace it with: `x += "."` 15 | 16 = note: `-D clippy::assign-op-pattern` implied by `-D warnings` 17 = help: to override `-D warnings` add `#[allow(clippy::assign_op_pattern)]` 18 19error: manual implementation of an assign operation 20 --> $DIR/string_add_assign.rs:17:5 21 | 22LL | x = x + 1; 23 | ^^^^^^^^^ help: replace it with: `x += 1` 24 25error: aborting due to 3 previous errors 26