Skip to content

Dereferencing completions #18873

@Veykril

Description

@Veykril

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 is Copy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions