diff options
| author | Andy Russell <arussell123@gmail.com> | 2019-01-09 14:11:00 -0500 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2019-01-09 14:11:00 -0500 |
| commit | 404ad50d148af4ea388861d1f9a45dd9f5c43ef7 (patch) | |
| tree | 816e61b92ec36ccfdbb9dcb55c2915bcf34bb3e0 /src/test/ui/pattern/pattern-error-continue.stderr | |
| parent | b8c8f0bdf62728198696cab7d00a8fdc3ee381d3 (diff) | |
| download | rust-404ad50d148af4ea388861d1f9a45dd9f5c43ef7.tar.gz rust-404ad50d148af4ea388861d1f9a45dd9f5c43ef7.zip | |
clarify resolve typo suggestion
Include the kind of the binding that we're suggesting, and use a structured suggestion.
Diffstat (limited to 'src/test/ui/pattern/pattern-error-continue.stderr')
| -rw-r--r-- | src/test/ui/pattern/pattern-error-continue.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/pattern/pattern-error-continue.stderr b/src/test/ui/pattern/pattern-error-continue.stderr index c17d4b70f0b..88de7577341 100644 --- a/src/test/ui/pattern/pattern-error-continue.stderr +++ b/src/test/ui/pattern/pattern-error-continue.stderr @@ -10,7 +10,7 @@ error[E0532]: expected tuple struct/variant, found unit variant `A::D` LL | A::D(_) => (), //~ ERROR expected tuple struct/variant, found unit variant `A::D` | ^^^- | | - | did you mean `B`? + | help: a tuple variant with a similar name exists: `B` error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields --> $DIR/pattern-error-continue.rs:17:9 |
