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