1 error[E0308]: mismatched types
2 --> $DIR/estr-subtyping.rs:10:15
7 | expected struct `String`, found `&str`
8 | help: try using a conversion method: `x.to_string()`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.