doku
doku copied to clipboard
"the trait bound ... is not satisfied" should point at the offending field
Compiling this code:
#[derive(Document)]
struct Foo {
bar: Bar,
}
struct Bar;
... will throw the trait bound ... is not satisfied at Document - it'd be nice if we pointed out bar: Bar instead, as does e.g. Serde.