diff options
| author | Jules Bertholet <jules.bertholet@gmail.com> | 2024-02-14 14:40:55 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-14 14:40:55 -0500 |
| commit | 5805040d2830a96af48f8c219b3c1586eaf24bef (patch) | |
| tree | 4a00227bda03bcb687aec85414af3e914d08bb85 /tests/codegen/patchable-function-entry | |
| parent | 8486837d557c152fee52383852835d4941602423 (diff) | |
| download | rust-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
