1 error[E0308]: mismatched types
2 --> $DIR/issue-53348.rs:10:13
4 LL | a = *i.to_string();
5 | ^^^^^^^^^^^^^^ expected struct `std::string::String`, found str
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0308`.