]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/block-result/issue-3563.stderr
improve unknown enum variant errors
[rust.git] / src / test / ui / block-result / issue-3563.stderr
index a6346a5233f4c3d12877c10fbdfb39bf25093546..237b8c54ce301dffb03a4631f0da665182cae777 100644 (file)
@@ -2,7 +2,7 @@ error[E0599]: no method named `b` found for type `&Self` in the current scope
   --> $DIR/issue-3563.rs:3:17
    |
 LL |         || self.b()
-   |                 ^ help: did you mean: `a`
+   |                 ^ help: there is a method with a similar name: `a`
 
 error: aborting due to previous error