-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Dereferencing completions #18873
Comments
For this feature, should |
I'd also be happy with completions that skip |
we can repurpose |
skip? You mean it inserts those? |
I meant that we e.g. complete |
Ah right, we have #15369 for the iterator ones |
I think we can now close this. |
We currently have extra logic that duplicates completions with a (mutable) borrow if the expected type is a borrow but the completion's type is not. We should also have the inverse of that where we insert a deref
*
if the expected type is one dereference away from the completion's type and the expected type isCopy
.The text was updated successfully, but these errors were encountered: