2017-10-10 06:56:49 +02:00
|
|
|
error: calling `.extend(_.chars())`
|
|
|
|
--> $DIR/string_extend.rs:16:5
|
|
|
|
|
|
|
|
|
16 | s.extend(abc.chars());
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ help: try this: `s.push_str(abc)`
|
|
|
|
|
|
2018-08-01 16:30:44 +02:00
|
|
|
= note: `-D clippy::string-extend-chars` implied by `-D warnings`
|
2017-10-10 06:56:49 +02:00
|
|
|
|
|
|
|
error: calling `.extend(_.chars())`
|
|
|
|
--> $DIR/string_extend.rs:19:5
|
|
|
|
|
|
|
|
|
19 | s.extend("abc".chars());
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `s.push_str("abc")`
|
|
|
|
|
|
|
|
error: calling `.extend(_.chars())`
|
|
|
|
--> $DIR/string_extend.rs:22:5
|
|
|
|
|
|
|
|
|
22 | s.extend(def.chars());
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ help: try this: `s.push_str(&def)`
|
|
|
|
|
2018-01-16 17:06:27 +01:00
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|