Skip to content

Suggestion: enable unreachable_pub lint at workspace level #22154

@rluvaton

Description

@rluvaton

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions