Move items related to computing diffs to a separate file#89477
Move items related to computing diffs to a separate file#89477bors merged 3 commits intorust-lang:masterfrom
Conversation
|
(rust-highfive has picked a reviewer for you, use r? to override) |
|
There's some diff-related code here as well - rust/src/tools/compiletest/src/runtest.rs Line 2404 in cb501a6 I'm not sure how much that is "the same" or can be unified, haven't looked too closely. What do you think? |
|
@Mark-Simulacrum While this does seem diff-related, its structure is very different from It may be possible to extract some parts as separate functions, as rust/src/tools/compiletest/src/runtest.rs Lines 2406 to 2431 in cb501a6 |
|
Hm. Ok. Well, I guess we can add a "why do we have two different diff implementations" (unified-diff and diff crates) to the list of open questions... But regardless I think much of the code can be moved into this module, if not unified just yet -- it looks pretty separate from being rustdoc specific to me, beyond the minor filter on extensions (which seems easy to pass in). |
|
@bors r+ rollup |
|
📌 Commit 3760c91 has been approved by |
…laumeGomez Rollup of 7 pull requests Successful merges: - rust-lang#89298 (Issue 89193 - Fix ICE when using `usize` and `isize` with SIMD gathers ) - rust-lang#89461 (Add `deref_into_dyn_supertrait` lint.) - rust-lang#89477 (Move items related to computing diffs to a separate file) - rust-lang#89559 (RustWrapper: adapt for LLVM API change) - rust-lang#89585 (Emit item no type error even if type inference fails) - rust-lang#89596 (Make cfg imply doc(cfg)) - rust-lang#89615 (Add InferCtxt::with_opaque_type_inference to get_body_with_borrowck_facts) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Work towards #89475.