From 7e3b1215a3eeff2867eba7a6d7fe18cd98466983 Mon Sep 17 00:00:00 2001 From: aiongg Date: Fri, 20 Nov 2026 22:37:22 +0000 Subject: [PATCH] design-lint: list PresetSource's MemoProps impl --- crates/design-lint/src/workspace.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/design-lint/src/workspace.rs b/crates/design-lint/src/workspace.rs index 22cafcd4f..20c702638 100644 --- a/crates/design-lint/src/workspace.rs +++ b/crates/design-lint/src/workspace.rs @@ -161,6 +161,9 @@ const NO_GLOBAL_STATE: &[(&str, &str)] = &[ ("crates/ui-patterns/src/patterns/presets/model/library.rs", "MemoProps"), // Settled fact: a name check keys by its inputs and its `fn` behind `dyn NameChecker`, as `Bind::check_with` does. ("crates/ui-patterns/src/patterns/presets/named.rs", "MemoProps"), + // Settled fact: `PresetSource` erases its inputs behind a trait object; it keys on those inputs (themselves + // `MemoProps`) and on the addresses of its capture-free `fn`s, which stand for the code that reads them. + ("crates/ui-patterns/src/patterns/presets/source.rs", "MemoProps"), // Settled fact: constant font bytes, decompressed once from compile-time input and immutable after init. ("crates/ui-contract/src/fonts/defaults.rs", "HACK"), ("crates/ui-contract/src/fonts/defaults.rs", "EGUI_ICONS"),