diff options
| author | bors <bors@rust-lang.org> | 2024-05-07 07:24:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-07 07:24:15 +0000 |
| commit | 24ef42aafc03cf1bf4298a0fec1ca313979169d7 (patch) | |
| tree | 1ee03cc12c259fd097947d5fdce08650a5bff611 /tests/codegen/patchable-function-entry | |
| parent | c50b357efe81c4632ce3875496029fc596be0e8b (diff) | |
| parent | 88a0df9d822be905a5984369cd5cb94d91f2f9e6 (diff) | |
| download | rust-24ef42aafc03cf1bf4298a0fec1ca313979169d7.tar.gz rust-24ef42aafc03cf1bf4298a0fec1ca313979169d7.zip | |
Auto merge of #17192 - roife:fix-issue-17179, r=lnicola
Fix source_range for INT_NUMBER in completion fix #17179. Previously r-a use `TextRange::empty(self.position.offset)` as `source_range` for `INT_NUMBER`, so the `text_edit` would always be an insertion, which results in #17179. This PR changed it by using `text_range` of `original_token` (same as `IDENT`).
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
