]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/estr-subtyping.stderr
Auto merge of #87150 - rusticstuff:simplify_wrapping_neg, r=m-ou-se
[rust.git] / src / test / ui / estr-subtyping.stderr
index 268ec63a80dc6ee906a2b48ca49e7ab8465637ef..d929c32633a0aed37c02af7b795dfffd09bb4338 100644 (file)
@@ -2,10 +2,9 @@ error[E0308]: mismatched types
   --> $DIR/estr-subtyping.rs:10:15
    |
 LL |    wants_uniq(x);
-   |               ^
+   |               ^- help: try using a conversion method: `.to_string()`
    |               |
    |               expected struct `String`, found `&str`
-   |               help: try using a conversion method: `x.to_string()`
 
 error: aborting due to previous error