about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-05 13:46:22 +0000
committerbors <bors@rust-lang.org>2023-02-05 13:46:22 +0000
commit0b32b65ca6aee21f352d178eeb0b85e092a93177 (patch)
tree33a4f95a78a8dc7037ee205eb406272fad87622d /compiler/rustc_codegen_llvm/src
parent3bc33c7e9f041c5aef69a5c33b3d29d19a341ece (diff)
parenta4d0b5c522405fd2351c56f48c68544b3130a513 (diff)
downloadrust-0b32b65ca6aee21f352d178eeb0b85e092a93177.tar.gz
rust-0b32b65ca6aee21f352d178eeb0b85e092a93177.zip
Auto merge of #14043 - lowr:fix/completion-within-str-that-changed, r=Veykril
fix: consider relative offset to fake ident token in expansion for completion

Fixes #13836

When we check if the offset of fake ident token is out of bounds in the "actual expansion" (i.e. expansion without the fake ident token), we should take relative offset to it into account to match [how we'd get token after expansion](https://github.com/rust-lang/rust-analyzer/blob/f1b257f4eb4fef74b42fd7135d1cf3884e8b51c9/crates/ide-completion/src/context/analysis.rs#L53-L54).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions