summaryrefslogtreecommitdiff
path: root/subprojects/thiserror/tests/ui/expression-fallback.stderr
blob: 8d22c3a59bfc10b44a9e64abec1b46fc683fcf0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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