summaryrefslogtreecommitdiff
path: root/vendor/thiserror/tests/ui/duplicate-fmt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/thiserror/tests/ui/duplicate-fmt.rs')
-rw-r--r--vendor/thiserror/tests/ui/duplicate-fmt.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/thiserror/tests/ui/duplicate-fmt.rs b/vendor/thiserror/tests/ui/duplicate-fmt.rs
new file mode 100644
index 0000000..cb3d678
--- /dev/null
+++ b/vendor/thiserror/tests/ui/duplicate-fmt.rs
@@ -0,0 +1,8 @@
+use thiserror::Error;
+
+#[derive(Error, Debug)]
+#[error("...")]
+#[error("...")]
+pub struct Error;
+
+fn main() {}