From 2dcc5763c95f6df51db50f8134e5c4d7d5d3a3ff Mon Sep 17 00:00:00 2001 From: bflatastic Date: Sun, 22 Nov 2026 22:45:13 +0700 Subject: [PATCH] ui-contract: NodeKey::raw is test-only, as AccessTree::none is, now that the access tree builds without the testing feature --- crates/ui-contract/src/runtime/egui/access/tree.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ui-contract/src/runtime/egui/access/tree.rs b/crates/ui-contract/src/runtime/egui/access/tree.rs index 0b78a4437..7f17f6bcf 100644 --- a/crates/ui-contract/src/runtime/egui/access/tree.rs +++ b/crates/ui-contract/src/runtime/egui/access/tree.rs @@ -26,6 +26,7 @@ pub struct NodeKey(u64); impl NodeKey { /// The AccessKit node number. + #[cfg(feature = "testing")] pub(crate) fn raw(self) -> u64 { self.0 }