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 trying to create a builder that takes a Vec as the builder and builds into a HashMap, incorrect code seems to be generated if you try to generate a collection setter.
What happens is that add_buggy expects get_or_insert_with to exist on the Vec that is created for the builder, but it does not, so it fails.
When trying to create a builder that takes a
Vec
as the builder and builds into aHashMap
, incorrect code seems to be generated if you try to generate a collection setter.What happens is that
add_buggy
expectsget_or_insert_with
to exist on the Vec that is created for the builder, but it does not, so it fails.A minimal reproduction case:
The text was updated successfully, but these errors were encountered: