You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the required fields are not properly provided, the compiler cannot deduce the build function. In that time, the compile error message would be like this:
no method named `build` found for struct `TestBuilder<...>` in the current scope
It will be helpful that the compiler suggests missing required fields like this:
Cannot build `Test` because following fields are required:
- name: String
- age: u8
It may be easily implemented if the Specialization feature is implemented, but the feature is not stable.
The text was updated successfully, but these errors were encountered:
When the required fields are not properly provided, the compiler cannot deduce the
build
function. In that time, the compile error message would be like this:It will be helpful that the compiler suggests missing required fields like this:
It may be easily implemented if the Specialization feature is implemented, but the feature is not stable.
The text was updated successfully, but these errors were encountered: