about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-03 08:37:12 +0000
committerbors <bors@rust-lang.org>2024-04-03 08:37:12 +0000
commit5b08b1776c1b47113a5103ab1363789b87c1e448 (patch)
tree4bbfc0b2408a41fa3a563b66a81a0113467c8e75 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
parent0140272daac91322b090a3cc171861fb8e49c427 (diff)
parentc5686c89413b3c6eead7b39637381ee353f8c05c (diff)
downloadrust-5b08b1776c1b47113a5103ab1363789b87c1e448.tar.gz
rust-5b08b1776c1b47113a5103ab1363789b87c1e448.zip
Auto merge of #17000 - mrnossiom:master, r=Veykril
fix: set the right postfix snippets competion source range

Hi :wave:,

Changed the completion item `source_range` to match the replaced text. Though in VS Code it may not be disturbing because the snippet is previewed in a box, but in Helix editor, it's previewed by applying the main text edit.

Before :
![image](https://github.com/rust-lang/rust-analyzer/assets/43814157/75960e02-64f0-4ecd-964f-7e1dd894c713)

After :
![image](https://github.com/rust-lang/rust-analyzer/assets/43814157/84102f0e-9c81-4e7c-8ab5-a25986630e6f)

Thanks
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions