]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/occurs-check-2.stderr
Auto merge of #62339 - pnkfelix:issue-61188-use-visitor-for-structural-match-check...
[rust.git] / src / test / ui / occurs-check-2.stderr
index 7b475c3cb227fdd395fdced46947cd45bed9e590..74e29a5aea7289652adf65a406bdfb1a3a0cd2cd 100644 (file)
@@ -5,7 +5,7 @@ LL |     f = box g;
    |         ^^^^^
    |         |
    |         cyclic type of infinite size
-   |         help: consider dereferencing the type: `*box g`
+   |         help: try using a conversion method: `box g.to_string()`
 
 error: aborting due to previous error