diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-14 11:31:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-14 11:31:53 +0100 |
| commit | 0b7d8f99ed843cbb31989d0635a8c6651c28df38 (patch) | |
| tree | 054723885e65e445a82ea145c16c88b77b90589b /src/test/ui/error-codes | |
| parent | 74cc0be8f6388aa2fc1ecaf18904c395a2306c40 (diff) | |
| parent | 404ad50d148af4ea388861d1f9a45dd9f5c43ef7 (diff) | |
| download | rust-0b7d8f99ed843cbb31989d0635a8c6651c28df38.tar.gz rust-0b7d8f99ed843cbb31989d0635a8c6651c28df38.zip | |
Rollup merge of #57477 - euclio:clarify-lev-suggestion, r=zackmdavis
clarify resolve typo suggestion Include the kind of the binding that we're suggesting, and use a structured suggestion. Fixes #53445.
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0423.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0423.stderr b/src/test/ui/error-codes/E0423.stderr index df9ed631a1c..c422a1e7957 100644 --- a/src/test/ui/error-codes/E0423.stderr +++ b/src/test/ui/error-codes/E0423.stderr @@ -22,8 +22,8 @@ error[E0423]: expected function, found struct `Foo` LL | let f = Foo(); //~ ERROR E0423 | ^^^ | | - | did you mean `foo`? | did you mean `Foo { /* fields */ }`? + | help: a function with a similar name exists: `foo` error[E0423]: expected value, found struct `S` --> $DIR/E0423.rs:12:32 |
