Reference completions are a bit too aggressive #8357
Labels
A-completion
autocompletion
C-bug
Category: bug
S-actionable
Someone could pick this issue up and work on it right now
When I go to complete this function:
I see these completions:
&mut context
definitely seems like the one I want. However, when I select it, it doesn't seem to be aware that I already typed&mut
, and inserts it again:This completion should be sufficiently context-sensitive that it doesn't double up the
&mut
prefix.The text was updated successfully, but these errors were encountered: