From 49c2f61373d5c0eca7e9f07a1f52d36726e79d73 Mon Sep 17 00:00:00 2001 From: Martin Ball Date: Mon, 26 Oct 2026 08:08:46 +0000 Subject: [PATCH] #3866: tests_linear imports Page and Rgb (main's layout tests didn't compile after #4392) #4392's tests used Page and Rgb, which other changes merged around it no longer brought into scope, so main's CI gate fails with E0425/E0422 in tests_linear.rs. Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01HUodYU9r4mPHed4pPsjHC2 --- crates/layout/src/tests_linear.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/layout/src/tests_linear.rs b/crates/layout/src/tests_linear.rs index 31b451d8d..4dc2d741d 100644 --- a/crates/layout/src/tests_linear.rs +++ b/crates/layout/src/tests_linear.rs @@ -7,10 +7,11 @@ use super::tests::{SCALE, cost_ratio}; use super::{ - Block, CharProps, DocLayout, Document, HeaderSet, HeightRule, InlineObject, LayoutCache, LayoutOptions, ParaLayout, Paragraph, Path, Placed, - SectionProps, SectionStart, StoryRef, display, layout, para, work, + Block, CharProps, DocLayout, Document, HeaderSet, HeightRule, InlineObject, LayoutCache, LayoutOptions, Page, ParaLayout, Paragraph, Path, + Placed, SectionProps, SectionStart, StoryRef, display, layout, para, work, }; use wordcraft_doc::para::Run; +use wordcraft_doc::props::Rgb; use wordcraft_doc::{Pos, Table}; fn lay(d: &Document, opts: &LayoutOptions) -> DocLayout {