error[E0277]: the trait bound `Bar: Document` is not satisfied --> tests/compiletest/trait/field_not_impl_document.rs:3:10 | 3 | #[derive(Document)] | ^^^^^^^^ the trait `Document` is not implemented for `Bar` | = note: this error originates in the derive macro `Document` (in Nightly builds, run with -Z macro-backtrace for more info)