Skip to content

Commit

Permalink
fixes trybuild test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
campeis committed Jan 18, 2024
1 parent 2dc9c7c commit c845af5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<false>`
Original file line number Diff line number Diff line change
Expand Up @@ -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<false>`

0 comments on commit c845af5

Please sign in to comment.