2017-06-10 21:34:47 -05:00
|
|
|
error: manual implementation of an assign operation
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/strings.rs:8:9
|
2017-06-10 21:34:47 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | x = x + ".";
|
2017-07-21 03:40:23 -05:00
|
|
|
| ^^^^^^^^^^^ help: replace it with: `x += "."`
|
2017-06-10 21:34:47 -05:00
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
= note: `-D clippy::assign-op-pattern` implied by `-D warnings`
|
2017-06-10 21:34:47 -05:00
|
|
|
|
2017-02-07 14:05:30 -06:00
|
|
|
error: you added something to a string. Consider using `String::push_str()` instead
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/strings.rs:8:13
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | x = x + ".";
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
= note: `-D clippy::string-add` implied by `-D warnings`
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: you added something to a string. Consider using `String::push_str()` instead
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/strings.rs:12:13
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | let z = y + "...";
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: you assigned the result of adding something to this string. Consider using `String::push_str()` instead
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/strings.rs:22:9
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | x = x + ".";
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
= note: `-D clippy::string-add-assign` implied by `-D warnings`
|
2017-02-07 14:05:30 -06:00
|
|
|
|
2017-06-10 21:34:47 -05:00
|
|
|
error: manual implementation of an assign operation
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/strings.rs:22:9
|
2017-06-10 21:34:47 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | x = x + ".";
|
2017-07-21 03:40:23 -05:00
|
|
|
| ^^^^^^^^^^^ help: replace it with: `x += "."`
|
2017-06-10 21:34:47 -05:00
|
|
|
|
2017-02-07 14:05:30 -06:00
|
|
|
error: you assigned the result of adding something to this string. Consider using `String::push_str()` instead
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/strings.rs:36:9
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | x = x + ".";
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
2017-06-10 21:34:47 -05:00
|
|
|
error: manual implementation of an assign operation
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/strings.rs:36:9
|
2017-06-10 21:34:47 -05:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | x = x + ".";
|
2017-07-21 03:40:23 -05:00
|
|
|
| ^^^^^^^^^^^ help: replace it with: `x += "."`
|
2017-06-10 21:34:47 -05:00
|
|
|
|
2017-02-07 14:05:30 -06:00
|
|
|
error: you added something to a string. Consider using `String::push_str()` instead
|
2019-01-07 15:33:18 -06:00
|
|
|
--> $DIR/strings.rs:40:13
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | let z = y + "...";
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2019-03-14 00:59:30 -05:00
|
|
|
error: aborting due to 8 previous errors
|
2018-10-26 11:10:20 -05:00
|
|
|
|