diff options
| author | John Turner <jturner.usa@gmail.com> | 2023-04-20 02:42:20 -0400 |
|---|---|---|
| committer | John Turner <jturner.usa@gmail.com> | 2023-04-20 02:42:20 -0400 |
| commit | 27ad0e1b5ab6adf5536eb65583c515f46a65b1e5 (patch) | |
| tree | a75fbf9d5dcc124a3da79f96e70da142fde08d32 /tests/trybuild | |
| parent | 5ba52d4806c51e80f241df8a00712451726ab81b (diff) | |
| download | get-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.stderr | 2 |
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" |
