From 0b236d0c73da51ccde3cfe442db8c47ce521d262 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 14 Aug 2026 00:26:09 +0800 Subject: feat(collection): add Display impl for MockProgramCollect --- mingling_core/src/program/collection/mock.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mingling_core/src') diff --git a/mingling_core/src/program/collection/mock.rs b/mingling_core/src/program/collection/mock.rs index ad8ba0a..568d141 100644 --- a/mingling_core/src/program/collection/mock.rs +++ b/mingling_core/src/program/collection/mock.rs @@ -24,6 +24,12 @@ pub enum MockProgramCollect { Bar, } +impl std::fmt::Display for MockProgramCollect { + fn fmt(&self, _f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + todo!() + } +} + /// SAFETY: This is a mock type used only for temporary testing. /// It will never actually enter the macro system. /// The internal `panic!` ensures that `member_id` will never be executed. -- cgit