summaryrefslogtreecommitdiff
path: root/subprojects/thiserror/tests/ui/expression-fallback.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/thiserror/tests/ui/expression-fallback.stderr')
-rw-r--r--subprojects/thiserror/tests/ui/expression-fallback.stderr24
1 files changed, 24 insertions, 0 deletions
diff --git a/subprojects/thiserror/tests/ui/expression-fallback.stderr b/subprojects/thiserror/tests/ui/expression-fallback.stderr
new file mode 100644
index 0000000..8d22c3a
--- /dev/null
+++ b/subprojects/thiserror/tests/ui/expression-fallback.stderr
@@ -0,0 +1,24 @@
+error: expected `,`, found `.`
+ --> tests/ui/expression-fallback.rs:4:11
+ |
+4 | #[error("".yellow)]
+ | ^ expected `,`
+
+error: argument never used
+ --> tests/ui/expression-fallback.rs:4:12
+ |
+4 | #[error("".yellow)]
+ | -- ^^^^^^ argument never used
+ | |
+ | formatting specifier missing
+ |
+help: format specifiers use curly braces, consider adding a format specifier
+ |
+4 | #[error("{}".yellow)]
+ | ++
+
+error[E0425]: cannot find value `yellow` in this scope
+ --> tests/ui/expression-fallback.rs:4:12
+ |
+4 | #[error("".yellow)]
+ | ^^^^^^ not found in this scope