Skip to content

Detect dead code better #2730

Closed
Closed
@rbtcollins

Description

@rbtcollins

We should stop using 'pub' and instead use 'crate' within rustup. Rustup has no exported API, but having pub functions results in dead types and functions not being detected. rust-lang/rust#79061 is an example of this technique applied to rustdoc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions