Dead pub mod services in lib.rs prevents compilation #71

Closed
opened 2026-03-01 15:01:12 +00:00 by mik-tf · 0 comments
Owner

Problem

src/lib.rs line 25 declares pub mod services but no src/services.rs or src/services/mod.rs exists. Nothing in the codebase uses crate::services. This causes a compile error:

error[E0583]: file not found for module `services`

This means cargo build -p hero_books fails on a clean checkout of development.

Fix

Remove the dead pub mod services; line from src/lib.rs.

## Problem `src/lib.rs` line 25 declares `pub mod services` but no `src/services.rs` or `src/services/mod.rs` exists. Nothing in the codebase uses `crate::services`. This causes a compile error: ``` error[E0583]: file not found for module `services` ``` This means `cargo build -p hero_books` fails on a clean checkout of `development`. ## Fix Remove the dead `pub mod services;` line from `src/lib.rs`.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_books#71
No description provided.