Skip to content

Conversation

lightsing
Copy link
Contributor

as_ref is ambiguous when other candidate are available.

@jonathanpwang
Copy link
Contributor

why does it fail to compile?

@lightsing
Copy link
Contributor Author

why does it fail to compile?

image

cuz the as_ref has multiple candidates.

@lightsing
Copy link
Contributor Author

the repo is here, if you are interested in details

https://github.com/scroll-tech/ecies-rs

I current use my own fork with this fix, without this patch, you could reproduce this bug.

(possibly caused by hybrid-array, not digging into this too much.)

@jonathanpwang
Copy link
Contributor

Thanks - I think it may have been fixed by #1945 which we will merge to main soon. Will keep this open until we confirm it's fixed.

@lightsing
Copy link
Contributor Author

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants