]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-53348.stderr
Rollup merge of #91804 - woppopo:const_clone, r=oli-obk
[rust.git] / src / test / ui / issues / issue-53348.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-53348.rs:10:13
3    |
4 LL |     let mut a = String::new();
5    |                 ------------- expected due to this value
6 LL |     for i in v {
7 LL |         a = *i.to_string();
8    |             ^^^^^^^^^^^^^^ expected struct `String`, found `str`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.