error[E0277]: the trait bound `N: Popular` is not satisfied --> tests/compile-fail/custom_error_generic_missing_bound.rs:17:31 | 17 | #[builder(build_fn(validate = "check_person", error = "Error"))] | ^^^^^^^^^^^^^^ the trait `Popular` is not implemented for `N` | note: required by a bound in `check_person` --> tests/compile-fail/custom_error_generic_missing_bound.rs:34:20 | 34 | fn check_person(builder: &PersonBuilder) -> Result<(), Error> { | ^^^^^^^ required by this bound in `check_person` help: consider restricting type parameter `N` | 18 | struct Person { | +++++++++