2018-08-15 14:30:50 -05:00
|
|
|
error[E0308]: mismatched types
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-53348.rs:10:13
|
2018-08-15 14:30:50 -05:00
|
|
|
|
|
2021-05-06 21:09:35 -05:00
|
|
|
LL | let mut a = String::new();
|
|
|
|
| ------------- expected due to this value
|
|
|
|
LL | for i in v {
|
2018-08-15 14:30:50 -05:00
|
|
|
LL | a = *i.to_string();
|
2023-01-02 20:00:33 -06:00
|
|
|
| ^^^^^^^^^^^^^^ expected `String`, found `str`
|
2018-08-15 14:30:50 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|