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