src/shadow-core/src/error.rs:46-66 defines show_error! and show_warning! macros that are never used — every tool calls uucore::show_error! / uucore::show_warning! instead (34 call sites; 0 use the shadow-core copies). They only avoid the workspace dead_code = "deny" lint because #[macro_export] hides them from it.
Fix
Delete both macros (and their doc comments) from error.rs. Keep ShadowError and ShadowResult.
Done when
grep -rn "shadow_core::show_error\|shadow_core::show_warning" src finds nothing
Good first issue — a self-contained deletion, no new code.
src/shadow-core/src/error.rs:46-66definesshow_error!andshow_warning!macros that are never used — every tool callsuucore::show_error!/uucore::show_warning!instead (34 call sites; 0 use the shadow-core copies). They only avoid the workspacedead_code = "deny"lint because#[macro_export]hides them from it.Fix
Delete both macros (and their doc comments) from
error.rs. KeepShadowErrorandShadowResult.Done when
grep -rn "shadow_core::show_error\|shadow_core::show_warning" srcfinds nothingGood first issue — a self-contained deletion, no new code.