From 521cb6a0f92a6ebb9de68cf6bb74c942ef16d039 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Thu, 19 Nov 2026 15:58:18 -0800 Subject: [PATCH] Fonts: the embedding tests import Stream Commit 49fe62434 moved the font wire builders into their own module and dropped Stream from the imports of embedding.rs. Two tests in its test module still call Stream::flate, so cargo check --tests failed on main with E0433. The test module now imports Stream. --- crates/fonts/src/embedding.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/fonts/src/embedding.rs b/crates/fonts/src/embedding.rs index c4feacc7ed..8f829facd9 100644 --- a/crates/fonts/src/embedding.rs +++ b/crates/fonts/src/embedding.rs @@ -310,6 +310,7 @@ fn same_resource(doc: &Document, fonts: &Dict, name: &str, programs: &mut Progra mod tests { use super::*; use crate::pdf::Metrics; + use pdfcraft_cos::Stream; #[test] fn full_unicode_embedding_keeps_outlines_advances_and_roundtrip_codes() {