Closed
Description
So I was trying to add an insert_with_key
method to map
like so, and I don't yet know how to avoid this error.
On one of the branches where I'm playing with this, this is a commit before which things compile, and after which I see error like so. All that change does is change the argument type from fn(uint)
to fn(V)
.
What's more, I haven't been able to reduce this to a problem outside of the standard library. For example, this compiles just fine. :P
Any ideas?