rust-analyzer/crates/ide_completion
bors[bot] 2fb6f5e46a
Merge #11218
11218: fix: Correct has_ref detection, avoiding duplicate &mut insertion on parameter completion r=Veykril a=weirane

The original code fails to detect there's a ref in scenarios such as `&mut s` and `& s` because `WHITESPACE` and `IDENT` got reversed.

Closes #11199.

Co-authored-by: Wang Ruochen <wrc@ruo-chen.wang>
2022-01-06 23:17:51 +00:00
..
src Merge #11218 2022-01-06 23:17:51 +00:00
Cargo.toml Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00