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