1 error[E0308]: mismatched types
2 --> $DIR/issue-52820.rs:9:9
7 | expected struct `std::string::String`, found &str
8 | help: try using a conversion method: `guts: guts.to_string()`
10 error[E0308]: mismatched types
11 --> $DIR/issue-52820.rs:10:17
13 LL | brains: guts.clone(),
16 | expected struct `std::string::String`, found &str
17 | help: try using a conversion method: `guts.to_string()`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0308`.