aboutsummaryrefslogtreecommitdiff
path: root/vendor/thiserror/tests/ui/transparent-enum-many.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/thiserror/tests/ui/transparent-enum-many.stderr')
-rw-r--r--vendor/thiserror/tests/ui/transparent-enum-many.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/thiserror/tests/ui/transparent-enum-many.stderr b/vendor/thiserror/tests/ui/transparent-enum-many.stderr
new file mode 100644
index 0000000..a9adfa5
--- /dev/null
+++ b/vendor/thiserror/tests/ui/transparent-enum-many.stderr
@@ -0,0 +1,6 @@
+error: #[error(transparent)] requires exactly one field
+ --> tests/ui/transparent-enum-many.rs:5:5
+ |
+5 | / #[error(transparent)]
+6 | | Other(anyhow::Error, String),
+ | |________________________________^