]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0308]: mismatched types |
0731742a | 2 | --> $DIR/estr-subtyping.rs:10:15 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | wants_uniq(x); |
b7449926 XL |
5 | | ^ |
6 | | | | |
1b1a35ee | 7 | | expected struct `String`, found `&str` |
b7449926 | 8 | | help: try using a conversion method: `x.to_string()` |
b7449926 XL |
9 | |
10 | error: aborting due to previous error | |
11 | ||
12 | For more information about this error, try `rustc --explain E0308`. |