diff --git a/type-safe-builder-macro/tests/compile_failure/assign_field_twice.stderr b/type-safe-builder-macro/tests/compile_failure/assign_field_twice.stderr index 73d9e11..38f625d 100644 --- a/type-safe-builder-macro/tests/compile_failure/assign_field_twice.stderr +++ b/type-safe-builder-macro/tests/compile_failure/assign_field_twice.stderr @@ -5,6 +5,7 @@ error[E0599]: no method named `field` found for struct `StructToBuildBuilderStat | ------- method `field` not found for this struct ... 9 | let _ = StructToBuildBuilder::builder().field(1).field(2).build(); - | ^^^^^--- help: remove the arguments - | | - | field, not a method + | ------------------------------- ^^^^^--- help: remove the arguments + | | | + | | field, not a method + | method `field` is available on `StructToBuildBuilderState` diff --git a/type-safe-builder-macro/tests/compile_failure/single_assignment_in_a_struct_multi_by_default.stderr b/type-safe-builder-macro/tests/compile_failure/single_assignment_in_a_struct_multi_by_default.stderr index 3275fc4..8b03c3a 100644 --- a/type-safe-builder-macro/tests/compile_failure/single_assignment_in_a_struct_multi_by_default.stderr +++ b/type-safe-builder-macro/tests/compile_failure/single_assignment_in_a_struct_multi_by_default.stderr @@ -5,6 +5,7 @@ error[E0599]: no method named `field` found for struct `StructToBuildBuilderStat | ------- method `field` not found for this struct ... 11 | let _ = StructToBuildBuilder::builder().field(1).field(2).build(); - | ^^^^^--- help: remove the arguments - | | - | field, not a method + | ------------------------------- ^^^^^--- help: remove the arguments + | | | + | | field, not a method + | method `field` is available on `StructToBuildBuilderState`