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