fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: mismatched types 2 --> $DIR/issue-52820.rs:12:9 3 | 4LL | guts, 5 | ^^^^ expected `String`, found `&str` 6 | 7help: try using a conversion method 8 | 9LL | guts: guts.to_string(), 10 | +++++ ++++++++++++ 11 12error[E0308]: mismatched types 13 --> $DIR/issue-52820.rs:13:17 14 | 15LL | brains: guts.clone(), 16 | ^^^^^-----^^ 17 | | | 18 | | help: try using a conversion method: `to_string` 19 | expected `String`, found `&str` 20 21error: aborting due to 2 previous errors 22 23For more information about this error, try `rustc --explain E0308`.