| |
| expected struct `std::string::String`, found &str
| help: try using a conversion method: `guts: guts.to_string()`
- |
- = note: expected type `std::string::String`
- found type `&str`
error[E0308]: mismatched types
--> $DIR/issue-52820.rs:10:17
| |
| expected struct `std::string::String`, found &str
| help: try using a conversion method: `guts.to_string()`
- |
- = note: expected type `std::string::String`
- found type `&str`
error: aborting due to 2 previous errors