Debian Codegraph @

tests/ui/invalid_attrs.stderr

raw
1 error: expected serde default attribute to be a string: `default = "..."`
2 --> tests/ui/invalid_attrs.rs:5:15
3 |
4 5 | default = 0,
5 | ^
6
7 error: duplicate serde attribute `deny_unknown_fields`
8 --> tests/ui/invalid_attrs.rs:8:5
9 |
10 8 | deny_unknown_fields,
11 | ^^^^^^^^^^^^^^^^^^^
12
13 error: unknown serde container attribute `with`
14 --> tests/ui/invalid_attrs.rs:12:5
15 |
16 12 | with = "String",
17 | ^^^^
18
19 error: expected serde default attribute to be a string: `default = "..."`
20 --> tests/ui/invalid_attrs.rs:23:15
21 |
22 23 | default = 0,
23 | ^
24
25 error: duplicate serde attribute `deny_unknown_fields`
26 --> tests/ui/invalid_attrs.rs:26:5
27 |
28 26 | deny_unknown_fields,
29 | ^^^^^^^^^^^^^^^^^^^
30
31 error: unknown schemars attribute `serialize_with`
32 --> tests/ui/invalid_attrs.rs:35:16
33 |
34 35 | #[schemars(serialize_with = "u64")]
35 | ^^^^^^^^^^^^^^
36
37 error: unexpected value of schemars inline attribute item
38 --> tests/ui/invalid_attrs.rs:27:12
39 |
40 27 | inline = 1,
41 | ^^^
42
43 error: duplicate schemars attribute item `inline`
44 --> tests/ui/invalid_attrs.rs:29:5
45 |
46 29 | inline,
47 | ^^^^^^
48
49 error: unknown schemars attribute `foo`
50 --> tests/ui/invalid_attrs.rs:24:5
51 |
52 24 | foo,
53 | ^^^
54
55 error: unknown schemars attribute `serialize_with`
56 --> tests/ui/invalid_attrs.rs:31:5
57 |
58 31 | serialize_with = "String",
59 | ^^^^^^^^^^^^^^
60
61 error: unknown schemars attribute `a::path`
62 --> tests/ui/invalid_attrs.rs:32:5
63 |
64 32 | a::path
65 | ^^^^^^^