summaryrefslogtreecommitdiff
path: root/subprojects/thiserror/tests/ui/duplicate-fmt.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/thiserror/tests/ui/duplicate-fmt.stderr')
-rw-r--r--subprojects/thiserror/tests/ui/duplicate-fmt.stderr23
1 files changed, 0 insertions, 23 deletions
diff --git a/subprojects/thiserror/tests/ui/duplicate-fmt.stderr b/subprojects/thiserror/tests/ui/duplicate-fmt.stderr
deleted file mode 100644
index a6c9932..0000000
--- a/subprojects/thiserror/tests/ui/duplicate-fmt.stderr
+++ /dev/null
@@ -1,23 +0,0 @@
-error: only one #[error(...)] attribute is allowed
- --> tests/ui/duplicate-fmt.rs:5:1
- |
-5 | #[error("...")]
- | ^^^^^^^^^^^^^^^
-
-error: duplicate #[error(fmt = ...)] attribute
- --> tests/ui/duplicate-fmt.rs:10:1
- |
-10 | #[error(fmt = core::fmt::LowerHex::fmt)]
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-error: cannot have both #[error(transparent)] and #[error(fmt = ...)]
- --> tests/ui/duplicate-fmt.rs:14:1
- |
-14 | #[error(fmt = core::fmt::Octal::fmt)]
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-error: cannot have both #[error(fmt = ...)] and a format arguments attribute
- --> tests/ui/duplicate-fmt.rs:20:1
- |
-20 | #[error("...")]
- | ^^^^^^^^^^^^^^^