summaryrefslogtreecommitdiff
path: root/tests/trybuild/unit-struct.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/trybuild/unit-struct.stderr')
-rw-r--r--tests/trybuild/unit-struct.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/trybuild/unit-struct.stderr b/tests/trybuild/unit-struct.stderr
new file mode 100644
index 0000000..41da09f
--- /dev/null
+++ b/tests/trybuild/unit-struct.stderr
@@ -0,0 +1,7 @@
+error: proc-macro derive panicked
+ --> tests/trybuild/unit-struct.rs:3:10
+ |
+3 | #[derive(Get)]
+ | ^^^
+ |
+ = help: message: called `Result::unwrap()` on an `Err` value: "can not generate getters on a unit struct"