Ref completions break when the prefix is a keyword (e.g. mod
)
#18572
Labels
A-completion
autocompletion
A-salsa
might be a salsa issue
C-bug
Category: bug
S-blocked
Status: marked as blocked ❌ on something else such as an RFC or other implementation work.
rust-analyzer version:
rust-analyzer 0.3.2196-standalone (327ab29 2024-11-24)
and nightly: rust-analyzer 0.4.2200-standalone (ab44866 2024-11-28)
rustc version:
rustc 1.83.0 (90b35a623 2024-11-26)
1.82 also
editor or extension:
VSCodium + rust-analyzer-no-server.vsix (friend: VSCode + ? This bug also exists)
relevant settings:
repository link (if public, optional):
code snippet to reproduce:
When I use helix, I encountered the bug #18547,
I switched to VSCodium, it's Ok. I think that bug may be Helix's bug. Not working properly with new version of RA.
But now I encountered this bug, I think this bug may be RA's bug.
When I type mod and then select
&mut mod_info
and confirm, it becomesmod&mmod_info
code snippet to reproduce is above.
The text was updated successfully, but these errors were encountered: