Debian Codegraph @

tests/fixtures/invalid/struct-field-not-diffable.stderr

raw
1 error[E0277]: the trait bound `NonDiffable: Diffable` is not satisfied
2 --> tests/fixtures/invalid/struct-field-not-diffable.rs:8:5
3 |
4 8 | b: NonDiffable,
5 | ^ the trait `Diffable` is not implemented for `NonDiffable`
6 |
7 = help: the following other types implement trait `Diffable`:
8 &'a T
9 ()
10 (A, B)
11 (A, B, C)
12 (A, B, C, D)
13 (A, B, C, D, E)
14 (A, B, C, D, E, F)
15 (A, B, C, D, E, F, G)
16 and $N others
17
18 error[E0277]: the trait bound `NonDiffable: Diffable` is not satisfied
19 --> tests/fixtures/invalid/struct-field-not-diffable.rs:5:10
20 |
21 5 | #[derive(Diffable)]
22 | ^^^^^^^^ the trait `Diffable` is not implemented for `NonDiffable`
23 |
24 = help: the following other types implement trait `Diffable`:
25 &'a T
26 ()
27 (A, B)
28 (A, B, C)
29 (A, B, C, D)
30 (A, B, C, D, E)
31 (A, B, C, D, E, F)
32 (A, B, C, D, E, F, G)
33 and $N others
34 = note: this error originates in the derive macro `Diffable` (in Nightly builds, run with -Z macro-backtrace for more info)
35
36 error[E0277]: the trait bound `NonDiffable: Diffable` is not satisfied in `MyStructDiff<'__daft>`
37 --> tests/fixtures/invalid/struct-field-not-diffable.rs:5:10
38 |
39 5 | #[derive(Diffable)]
40 | ^^^^^^^^ within `MyStructDiff<'__daft>`, the trait `Diffable` is not implemented for `NonDiffable`
41 |
42 = help: the following other types implement trait `Diffable`:
43 &'a T
44 ()
45 (A, B)
46 (A, B, C)
47 (A, B, C, D)
48 (A, B, C, D, E)
49 (A, B, C, D, E, F)
50 (A, B, C, D, E, F, G)
51 and $N others
52 note: required because it appears within the type `MyStructDiff<'__daft>`
53 --> tests/fixtures/invalid/struct-field-not-diffable.rs:5:10
54 |
55 5 | #[derive(Diffable)]
56 | ^^^^^^^^
57 note: required by a bound in `daft::Diffable::Diff`
58 --> $WORKSPACE/daft/src/diffable.rs
59 |
60 | / type Diff<'daft>
61 | | where
62 | | Self: 'daft;
63 | |____________________^ required by this bound in `Diffable::Diff`
64 = note: this error originates in the derive macro `Diffable` (in Nightly builds, run with -Z macro-backtrace for more info)
65
66 error[E0277]: the trait bound `NonDiffable: Diffable` is not satisfied in `MyStructDiff<'__daft>`
67 --> tests/fixtures/invalid/struct-field-not-diffable.rs:5:10
68 |
69 5 | #[derive(Diffable)]
70 | ^^^^^^^^ within `MyStructDiff<'__daft>`, the trait `Diffable` is not implemented for `NonDiffable`
71 |
72 = help: the following other types implement trait `Diffable`:
73 &'a T
74 ()
75 (A, B)
76 (A, B, C)
77 (A, B, C, D)
78 (A, B, C, D, E)
79 (A, B, C, D, E, F)
80 (A, B, C, D, E, F, G)
81 and $N others
82 note: required because it appears within the type `MyStructDiff<'__daft>`
83 --> tests/fixtures/invalid/struct-field-not-diffable.rs:5:10
84 |
85 5 | #[derive(Diffable)]
86 | ^^^^^^^^
87 = note: the return type of a function must have a statically known size
88 = note: this error originates in the derive macro `Diffable` (in Nightly builds, run with -Z macro-backtrace for more info)