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