summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/const-in-struct-pat.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/suggestions/const-in-struct-pat.stderr')
-rw-r--r--tests/ui/suggestions/const-in-struct-pat.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/suggestions/const-in-struct-pat.stderr b/tests/ui/suggestions/const-in-struct-pat.stderr
index c8b93f3dc..f344ac06d 100644
--- a/tests/ui/suggestions/const-in-struct-pat.stderr
+++ b/tests/ui/suggestions/const-in-struct-pat.stderr
@@ -7,7 +7,7 @@ LL | struct foo;
LL | let Thing { foo } = t;
| ^^^ - this expression has type `Thing`
| |
- | expected struct `String`, found struct `foo`
+ | expected `String`, found `foo`
| `foo` is interpreted as a unit struct, not a new binding
|
help: bind the struct field to a different name instead