about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorJules Bertholet <jules.bertholet@gmail.com>2024-02-14 14:40:55 -0500
committerGitHub <noreply@github.com>2024-02-14 14:40:55 -0500
commit5805040d2830a96af48f8c219b3c1586eaf24bef (patch)
tree4a00227bda03bcb687aec85414af3e914d08bb85 /tests/codegen/patchable-function-entry
parent8486837d557c152fee52383852835d4941602423 (diff)
downloadrust-5805040d2830a96af48f8c219b3c1586eaf24bef.tar.gz
rust-5805040d2830a96af48f8c219b3c1586eaf24bef.zip
Search span using *unnormalized* ident (#6073)
Fixes 6069

Calling `item.ident.as_str()` returns an NFC normalized ident, which
might not be what's written in the source code. To avoid panics when
calling `snippet_provider.span_after` use the ident from the source.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions