Skip to content

Commit

Permalink
Fix compile-test error message
Browse files Browse the repository at this point in the history
  • Loading branch information
TedDriggs committed Nov 22, 2022
1 parent 1c69e68 commit a4d6c38
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions derive_builder/tests/compile-fail/custom_error_no_from.stderr
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
error[E0277]: the trait bound `Error: From<UninitializedFieldError>` is not satisfied
--> tests/compile-fail/custom_error_no_from.rs:21:55
--> tests/compile-fail/custom_error_no_from.rs:20:10
|
21 | #[builder(build_fn(validate = "check_person", error = "Error"))]
| ^^^^^^^ the trait `From<UninitializedFieldError>` is not implemented for `Error`
20 | #[derive(Builder)]
| ^^^^^^^ the trait `From<UninitializedFieldError>` is not implemented for `Error`
|
= note: required because of the requirements on the impl of `Into<Error>` for `UninitializedFieldError`
= note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info)

0 comments on commit a4d6c38

Please sign in to comment.