1 error[E0308]: mismatched types
2 --> $DIR/estr-subtyping.rs:20:15
4 LL | wants_uniq(x); //~ ERROR mismatched types
7 | expected struct `std::string::String`, found &str
8 | help: try using a conversion method: `x.to_string()`
10 = note: expected type `std::string::String`
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0308`.