about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2025-02-10 15:47:31 +0200
committerChayim Refael Friedman <chayimfr@gmail.com>2025-02-10 16:38:13 +0200
commit724b85ef11213e128985a22c073c7373d80fd792 (patch)
tree1eb565a85ef4f2b51b0b1772b1223bf296f29cc5 /tests/codegen/patchable-function-entry
parent340e9a3364c4f7338dde7714953208286b646941 (diff)
downloadrust-724b85ef11213e128985a22c073c7373d80fd792.tar.gz
rust-724b85ef11213e128985a22c073c7373d80fd792.zip
Fix postfix completions inside macros
Previously the receiver text was taken directly from the AST, which in macros is missing trivia, leading to corruption (or just unintended replacement of user code).

Now we upmap the range, and extract the original file text in it.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions