summaryrefslogtreecommitdiffstats
path: root/vendor/thiserror/tests/ui/unexpected-field-fmt.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/thiserror/tests/ui/unexpected-field-fmt.stderr')
-rw-r--r--vendor/thiserror/tests/ui/unexpected-field-fmt.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/thiserror/tests/ui/unexpected-field-fmt.stderr b/vendor/thiserror/tests/ui/unexpected-field-fmt.stderr
new file mode 100644
index 000000000..bf3c24df2
--- /dev/null
+++ b/vendor/thiserror/tests/ui/unexpected-field-fmt.stderr
@@ -0,0 +1,5 @@
+error: not expected here; the #[error(...)] attribute belongs on top of a struct or an enum variant
+ --> tests/ui/unexpected-field-fmt.rs:6:9
+ |
+6 | #[error("...")]
+ | ^^^^^^^^^^^^^^^