about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-12-08 06:44:43 +0100
committerGitHub <noreply@github.com>2023-12-08 06:44:43 +0100
commitf7c892e3234829ff0f6e5b52ad1daf0c0be412a4 (patch)
tree629bf330ef45fe6b2ed1b3ea47527c3d2f263a3d /compiler/rustc_hir_analysis/src/errors.rs
parent646d627661b8edffcb79f6be357753bf863664d5 (diff)
parent9a4321518c3ed461c9033bf02dcc1fa66da96ee3 (diff)
downloadrust-f7c892e3234829ff0f6e5b52ad1daf0c0be412a4.tar.gz
rust-f7c892e3234829ff0f6e5b52ad1daf0c0be412a4.zip
Rollup merge of #118695 - Zalathar:push-refined, r=davidtwco
coverage: Merge refined spans in a separate final pass

Pulling this merge step out of `push_refined_span` and into a separate pass lets us push directly to `refined_spans` instead of calling a helper method.

Because the compiler can now see partial borrows of `refined_spans`, we can remove some extra code that was jumping through hoops to satisfy the borrow checker.

---

``@rustbot`` label +A-code-coverage
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions