diff options
| author | bors <bors@rust-lang.org> | 2025-02-21 23:59:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-02-21 23:59:08 +0000 |
| commit | dc37ff82e861428d537ae28e7b92296c4583fb5a (patch) | |
| tree | d58f3fd3708a8a6045c12e6fb9f22a24afd811be /compiler/rustc_ast_passes/src | |
| parent | 794c12416b2138064af1f2746646973fafd9419d (diff) | |
| parent | 160905b6253f42967ed4aef4b98002944c7df24c (diff) | |
| download | rust-dc37ff82e861428d537ae28e7b92296c4583fb5a.tar.gz rust-dc37ff82e861428d537ae28e7b92296c4583fb5a.zip | |
Auto merge of #137348 - compiler-errors:span-trim, r=estebank
More sophisticated span trimming for suggestions Previously #136958 only cared about prefixes or suffixes. Now it detects more cases where a suggestion is "sandwiched" by unchanged code on the left or the right. Would be cool if we could detect several insertions, like `ACE` going to `ABCDE`, extracting `B` and `D`, but that seems unwieldy. r? `@estebank`
Diffstat (limited to 'compiler/rustc_ast_passes/src')
0 files changed, 0 insertions, 0 deletions
