/
stringly-typed.stderr
43 lines (37 loc) · 1.15 KB
/
stringly-typed.stderr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
error: Cannot be both a `context` and `whatever` error
--> tests/ui/stringly-typed.rs:5:13
|
5 | #[snafu(context, whatever)]
| ^^^^^^^
error: Cannot be both a `context` and `whatever` error
--> tests/ui/stringly-typed.rs:5:22
|
5 | #[snafu(context, whatever)]
| ^^^^^^^^
error: expected `,`
--> tests/ui/stringly-typed.rs:13:21
|
13 | #[snafu(whatever(true))]
| ^
error: Whatever selectors must have a message field
--> tests/ui/stringly-typed.rs:21:5
|
21 | #[snafu(whatever)]
| ^
error: Multiple `message` attributes are not supported on a named struct
--> tests/ui/stringly-typed.rs:32:9
|
32 | message: String,
| ^^^^^^^^^^^^^^^
error: Whatever selectors must not have context fields
--> tests/ui/stringly-typed.rs:43:9
|
43 | user_id: i32,
| ^^^^^^^^^^^^
error[E0124]: field `message` is already declared
--> tests/ui/stringly-typed.rs:32:9
|
31 | message: String,
| --------------- `message` first declared here
32 | message: String,
| ^^^^^^^^^^^^^^^ field already declared