summaryrefslogtreecommitdiff
path: root/tests/trybuild
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2023-04-20 02:42:20 -0400
committerJohn Turner <jturner.usa@gmail.com>2023-04-20 02:42:20 -0400
commit27ad0e1b5ab6adf5536eb65583c515f46a65b1e5 (patch)
treea75fbf9d5dcc124a3da79f96e70da142fde08d32 /tests/trybuild
parent5ba52d4806c51e80f241df8a00712451726ab81b (diff)
downloadget-27ad0e1b5ab6adf5536eb65583c515f46a65b1e5.tar.gz
improved error messages for attribute-less tuple struct fields
Diffstat (limited to 'tests/trybuild')
-rw-r--r--tests/trybuild/tuple-struct-without-attribute.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/trybuild/tuple-struct-without-attribute.stderr b/tests/trybuild/tuple-struct-without-attribute.stderr
index 7ddd8c6..33791f4 100644
--- a/tests/trybuild/tuple-struct-without-attribute.stderr
+++ b/tests/trybuild/tuple-struct-without-attribute.stderr
@@ -4,4 +4,4 @@ error: proc-macro derive panicked
3 | #[derive(Get)]
| ^^^
|
- = help: message: called `Result::unwrap()` on an `Err` value: "tuple fields are required to have an attribute"
+ = help: message: called `Result::unwrap()` on an `Err` value: "expected attribute on tuple struct field"