Why looking at the code I thought I could use InProgressSpillFile since it marked as pub, or the function create_in_progress_file that is also pub, but InProgressSpillFile mod is behind pub(crate) so to avoid confusion when reading the source code
I want to enable unreachable_pub lint at the workspace level so this won't happen since you will be forced to specify the correct visibility
Applying this can be done using: cargo fix --workspace --all-targets
Why looking at the code I thought I could use
InProgressSpillFilesince it marked aspub, or the functioncreate_in_progress_filethat is alsopub, butInProgressSpillFilemod is behindpub(crate)so to avoid confusion when reading the source codeI want to enable
unreachable_publint at the workspace level so this won't happen since you will be forced to specify the correct visibilityApplying this can be done using:
cargo fix --workspace --all-targets