Skip to content

Fs fix 2880 #4483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Fs fix 2880 #4483

wants to merge 2 commits into from

Conversation

montekki
Copy link
Contributor

I tried to fix #2880 mostly following @flodiebold's instructions. While this fixes the testcase that is being added in this PR, it does not fix the situation described in the respective issue. My guess is that it has to do with the type parameter having a default value and I am now trying to boil it down to the minimal testcase. Any ideas on that?

Fixes #2880

@montekki montekki marked this pull request as draft May 16, 2020 16:05
@flodiebold
Copy link
Member

Hmm, the problem with these instructions is that since then, Chalk has started adding built-in impls, so now that is the place where built-in impls should be added. The ones on the rust-analyzer side are likely to get removed as soon as we have them in Chalk. We could still merge this, but it will probably be removed soon.

As to why it doesn't work, I would try adding a test with a similar Lazy struct and Deref impl and see whether it works.

@montekki
Copy link
Contributor Author

ok, I will close this one then

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.

Unknown type from Lazy.lock()
2 participants