forked from gentoo-utils/gentoo-utils
Merge commit '6eba9cd92c295c5389944f6adda1f1e83b2cb008' as 'subprojects/thiserror'
This commit is contained in:
24
subprojects/thiserror/tests/ui/expression-fallback.stderr
Normal file
24
subprojects/thiserror/tests/ui/expression-fallback.stderr
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user